I am looking to sort a column in the datagrid that is
getting populated by the database. I want to sort the column
without user having to click on the header. Also I cannot use
orderby or groupby commands in sql, just in case if you wonder why
am not doing that instead. Any help would be really appreciated.
Thanks for that topic. Actually, I have already checked that
out and it still needs the user click on the header of the column
for sorting. I am specifically looking for the sorting to take
place without any user clicks. Actually, I have this radio button
group with two choices asc or desc. If a user checks asc and then
presses the submit button on the page, then the data is displayed
in ascending order and the other way for desc. I am sorry, I cannot
post the code due to corporate security rules.
Once again thanks for the help and it would be great if
anyone can help with this part.