MikeDamone
Programmer
I have a datatable that I am adding rows to on the fly. Then I'm setting the datatable equal to a dataview for sort purposes. Then I want to loop through the sorted dataview and build an html table.
The problem I have is that the row indexes of the dataview table do not reorder when I sort, so the information I'm displaying is out of order. The row indexes remain what they were on the original datatable. Is there a way to loop through using row indexes in a sorted manner? Thanks
The problem I have is that the row indexes of the dataview table do not reorder when I sort, so the information I'm displaying is out of order. The row indexes remain what they were on the original datatable. Is there a way to loop through using row indexes in a sorted manner? Thanks