Tim,
you set the sort property of the DataView, not the DataTable (the DataTable has no Sort property), so you have to loop through the DataRowViews of the DataView instead of the DataRows of the DataTable to get the sorted rows.
Your code gets the rows from dv.Table.Rows and that's nothing...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.