Hello All,
I am developing a site to display data with SQL Database.I want to sort columns of the site in both ascending and descending manner.
Please let me know.
Thanks,
Prasanna.
Hello All,
I am developing a site to display data with SQL Database.I want to sort columns of the site in both ascending and descending manner.
Please let me know.
Thanks,
Prasanna.
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Bhasker DasPosted Aug 17, 2007, 4:10 PM
If you are using Framework 2.0, use GridView control otherwise use Datagrid. Both controls have their inbuilt property for sorting a column, you just need to specify the column name and bind GridView/Dtagrid again on its sorting event. May this will help you.
Bhasker