-----------------------------------------------------------
New Message on BDOTNET
-----------------------------------------------------------
From: PRS
Message 1 in Discussion
Hi Every Body,
Dim tb As New DataTable("Temp")
Dim i as interger
tb.Columns.Add(New DataColumn("Dates", System.Type.GetType("System.DateTime")))
tb.Columns.Add(New DataColumn("Amount", System.Type.GetType("System.Decimal")))
for i = 1 to 5
Dim tr As DataRow = tb.NewRow
tr(0) = 100 - i
tr(1) = 100000 - i
tb.Rows.Add(tr)
next
Dim dv as new dataview
Dim db as new DataTable("")
dv = tb.DefaultView
dv.Sort = "Dates ASC"
db = dv.Table
Like this i am adding Rows manaually to the Data table, if sort this Data View
its giving error,
the manually added rows in the datatable is not getting sort.
Please help me in this part.
Thanks and Regards
Senthil Kumar
Get the new Windows Live Messenger! Try it!
-----------------------------------------------------------
To stop getting this e-mail, or change how often it arrives, go to your E-mail
Settings.
http://groups.msn.com/bdotnet/_emailsettings.msnw
Need help? If you've forgotten your password, please go to Passport Member
Services.
http://groups.msn.com/_passportredir.msnw?ppmprop=help
For other questions or feedback, go to our Contact Us page.
http://groups.msn.com/contact
If you do not want to receive future e-mail from this MSN group, or if you
received this message by mistake, please click the "Remove" link below. On the
pre-addressed e-mail message that opens, simply click "Send". Your e-mail
address will be deleted from this group's mailing list.
mailto:[EMAIL PROTECTED]