G
Guest
Hi
I have some problem to get the data from data view
I created one table and sort one column in the dataview
DataTable myTable = new DataTable()
....Create Columns and add Record Values.
DataView myView = new DataView(myTable)
myView.Sort = "Price"
for(int i=0; i<myView.Table.Rows.Count; i++
myPrice = myView["Price"]
....
When I check "myPrice" in every loop, it's not sorted order
How can I get the data with sorted data by "Price"
Thank yo
I have some problem to get the data from data view
I created one table and sort one column in the dataview
DataTable myTable = new DataTable()
....Create Columns and add Record Values.
DataView myView = new DataView(myTable)
myView.Sort = "Price"
for(int i=0; i<myView.Table.Rows.Count; i++
myPrice = myView["Price"]
....
When I check "myPrice" in every loop, it's not sorted order
How can I get the data with sorted data by "Price"
Thank yo