网格视图中的排序方向 [英] sorting direction in grid view

查看:49
本文介绍了网格视图中的排序方向的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在网格中添加排序属性.
它始终允许按升序排序.


请建议一些代码来设置sortind方向.

i am adding sorting property in my grid.
it always allow asc order of sorting.


Please suggest some code to set sortind direction.

推荐答案

选中此

http://stackoverflow.com/questions/702600/sorting-and-paging- with-gridview-asp-net [ ^ ]
Check this

http://stackoverflow.com/questions/702600/sorting-and-paging-with-gridview-asp-net[^]


看看排序事件 [
Have a look at the Sort method[^] and its related Sorting event[^].


请参阅以下内容:

http://forums.asp.net/t/825118.aspx/2/10 [ ^ ]

> http://stackoverflow.com/questions/250037/gridview-sorting-sortdirection-always-ascending [^ ]
Refer these:

http://forums.asp.net/t/825118.aspx/2/10[^]

http://stackoverflow.com/questions/250037/gridview-sorting-sortdirection-always-ascending[^]


这篇关于网格视图中的排序方向的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆