Hi Diego,
To answer your final query, if you need to display data in a sorted order,
you would need to use a Dataview instead of a Dataset as Dataset does
not support the Sort Property.
Next, in your Update event, i.e, DataGrid1_UpdateCommand, you can
write the following code snippet:
DataView myDataView = ds.Tables(4).DefaultView;
// By default, the first column sorted ascending.
myDataView.Sort = "CoulmnName DESC";
Since the default order is Ascending, you would not need to use the
property.
However, you would still need to use a Dataview to get the default Sort
order
Following link describes the property in detail:
[DataView.Sort Property]
http://msdn.microsoft.com/library/d...tml/frlrfsystemdatadataviewclasssorttopic.asp
HTH
Mona[Grapecity]