G
Guest
in asp.net i allow the user to sort a dataview which is bound to a grid
similar to this
dvMyData.Sort = "Department, Salary DESC
This works fine
I also build a CSV file so the user can download the data. My problem occurs whe
i build the CSV file. I walk through each row using a data table and code like this
For i = 0 To dt.Rows.Count -
..
I'm puzzled why the data in the data table isn't sorted, but my grid control is. I'
missing something simple but am having trouble finding it
Thanks for any assistance
similar to this
dvMyData.Sort = "Department, Salary DESC
This works fine
I also build a CSV file so the user can download the data. My problem occurs whe
i build the CSV file. I walk through each row using a data table and code like this
For i = 0 To dt.Rows.Count -
..
I'm puzzled why the data in the data table isn't sorted, but my grid control is. I'
missing something simple but am having trouble finding it
Thanks for any assistance