Repost : Dataset not sorting

  • Thread starter Thread starter John
  • Start date Start date
J

John

Hi all,

I did post this earlier but I do need a fairly urgent resolution to this
problem of mine.

My web app contains a datagrid with a dataset within. The dataset is the
result of two other datasets (merged) but when my program sorts the dataset
it does not appear sorted in the datagrid.

I would prefer to sort the dataset itself prior to passing it back to the
requestor (as opposed to setting the sort of the datagrid).

How do I achieve this?

Regards
John.
 
You cannot sort a dataset. You can use a DataView and define a sort. That
will presented a sorted view of the data when using the dataview - however,
the data in the dataset itself will not be altered.
 
Back
Top