大家好, 我需要根据其列值之一(日期)对gridview进行排序.请让我知道我该如何做到这一点.我只想在将值绑定到gridview之前对数据进行简单的升序"排序. 在此先感谢!
Hi All, I need to sort a gridview on the basis of one of it''s columns value (Date). Please let me know how can i achieve this. I just want simple "ASCENDING" ordering of data just before binding values to gridview. Thanks in Advance!
推荐答案在按钮上单击仅重新绑定网格.并在查询中使用Asc作为Date 或者您可以检查此链接: 链接网格视图排序示例 [ ^ ] On button click just rebind the grid. and in your query use Asc for Date Or you can check this link: Link grid View Sorting Example[^]