When i click on the above dropdownlist(Order by and select MemberID, the results displayed below will arrange according to MemberID. Does anyone know how to code for this? As i couldn't find a sample code related to these.
It depends on how you want to implement the order by.
Options
1. When a user selects from the dropdown list, requery the SQL with the slected ordery by clause but submiting the page.
2. Use Javascript to sort by clicking the header of the table. Here is the link to JS
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.