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.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Bhasker DasRank #227 · 11K reputationPosted Aug 17, 2007, 12:10 PM EDT
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