在单击列名称时对gridview进行排序和固定 [英] sorting and pagging the gridview while click on column name
本文介绍了在单击列名称时对gridview进行排序和固定的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我需要在单击列名称的同时对gridview进行排序和固定(gridview的数据是从数据库中获取的)
我用谷歌搜索,但是找不到代码,例如从数据库中获取数据并进行排序.
i need to sort and pagging the gridview while click the column name(data''s of the gridview are taken from the database)
i googled it but i cant find the code like taking data from database and sorting
推荐答案
看看
http://aspdotnetcodebook.blogspot.in/2009/03/gridview-sorting-and- pages.html [ ^ ]
http://marss.co.ua/SortingAndPagingForGridView.aspx [ http://asimsajjad.blogspot.in/2009/05/gridview-paging-and- sorting.html [^ ]
Have a look at
http://aspdotnetcodebook.blogspot.in/2009/03/gridview-sorting-and-paging.html[^]
http://marss.co.ua/SortingAndPagingForGridView.aspx[^]
http://asimsajjad.blogspot.in/2009/05/gridview-paging-and-sorting.html[^]
请参考以下主题:
对GridView进行分页和排序的实现 [ GridView分页和排序 [使用带有排序和分页功能的DataTable的通用GridView [ ^ ]
对GridView的数据进行分页和排序 [使用gridview asp.net进行排序和分页 [手动排序和分页不使用数据源控件的Gridview [
Please refer following threads:
Implementation of paging and sorting for the GridView [^]
GridView Paging and Sorting[^]
Generic GridView Using DataTable with Sorting and Paging[^]
Paging and Sorting the GridView''s Data[^]
sorting and paging with gridview asp.net[^]
Manually sorting and paging Gridview without using datasource control[^]
请参阅:
http://www.maconstateit.net/tutorials/aspnet20/ASPNET07/aspnet07-06.aspx [^ ]
Refer this:
http://www.maconstateit.net/tutorials/aspnet20/ASPNET07/aspnet07-06.aspx[^]
这篇关于在单击列名称时对gridview进行排序和固定的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文