You can't sort a DataSet; if you're filling the ds from one SQL query you can sort in the query ... but I have two queries and two datasets that I merge into one, so then it is not sorted. However, you can sort a DataView:
- Overview, sorting & filtering: http://msdn2.microsoft.com/en-us/library/1ay5y4w0(VS.71).aspx
- DataView:http://msdn2.microsoft.com/en-us/library/system.data.dataview(vs.80).aspx
- DataViewManager: http://msdn2.microsoft.com/en-us/library/aa984340(VS.71).aspx
- How to edit a DataRow: http://msdn2.microsoft.com/en-us/library/tat996zc(VS.80).aspx
No comments:
Post a Comment