I have a datagrid which reads all songs from a directory and generate rows. I wrote and the datagrid sortification which sort by song name on ASC or DESC the only way to call sortification is to press the link in the header. But I whant to call sortification command from a asp:button, how can I do?
Share
On the asp.net command button’s click event you can do sortting using the DataView
e.g: