asp .Net如何获取网格视图列标题点击事件 [英] asp .Net how to get grid view column header click event
本文介绍了asp .Net如何获取网格视图列标题点击事件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
嗨..
有没有办法在asp.net中为网格视图停止列标题点击事件。我想单击gridview的clumn标题,并根据列内容对网格视图进行排序。
例如:如果该列有大小变量,我想根据大小对gridview进行排序..
解决方案
以下将帮助您: MSDN:ASP.NET 2.0的GridView示例:对GridView的数据进行分页和排序 [ ^ ]
回答类似的问题:在Gridview Asp中排序.net C# [ ^ ]
hi..
is there any way to ceate a column header click event for grid view in asp.net. I want to click a clumn header of gridview and sort the grid view according go ghe column content.
Ex: If that column hase siZe variable, I want to sort the gridview according to sizes..
解决方案
Following will help you: MSDN: GridView Examples for ASP.NET 2.0: Paging and Sorting the GridView''s Data[^]
Similar question with answers: Sorting in Gridview Asp.net C#[^]
这篇关于asp .Net如何获取网格视图列标题点击事件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文