hi
joris u can use this method
create a dataset(ds)
put some data
create a sort string
(i.e. sortString = "ProductNameColumn desc")
now do this
ds.Tables[0].DefaultView.Sort = sortString;
PagedDataSource objPage = new PagedDataSource();
objPage.DataSource = ds.Tables[0].DefaultView;
MailsList.DataSource = objPage;
Now give me thanks
n bye gud nite (according to india)
Mukesh Agarwal
New Delhi
Joris De Groote wrote:
Hi,
I have created a webpage with a datagrid. The page fills in the datagrid
after the user selected some things (it's a searchpage). Now the page show
everything from an SQL server sorted on productnumber.
How can I let the users change the sorting of the documents without always
having to get the data again from the SQL server?
Thanks
Joris