Hi all,
I use vb.net and dataset, datatable.
I have 4 reocrds, ItemCode is CR07
CR09
CR07
CR09
I want to sort by ItemCode first, after get the data.
I already try the below code,but can't to do it.
How can i do, Thank you ?
Ds.TempTable.DefaultView.Sort = "ItemCode"
For i = 0 To Ds.TempTable.Count - 1
Ds.TempTable.Rows(i).Item("Itemcode")
next
But output same, why?