有关GridView控件中动态填充的怀疑 [英] Doubts regarding Dynamic Pagging in GridView control
本文介绍了有关GridView控件中动态填充的怀疑的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我有分成几组的记录表.例如,一种记录10条,其他记录5条,其他记录6条.当我在gridview中显示表时,它必须在同一页面中显示相似类型的记录,即网格的第一页中第一类型的10条记录,第二页中的第二5条记录等.
请提出实现此目标的一些方法或技术.
adv中的tnx
Hi,
I have table of records that are divide into groups.i,e for example 10 records of one kind,5 of other kind, 6 of other kind. When i display the table in gridview, it has to display the similar kinds of records in same page,i.e 1st 10 records of same kind in 1st page,second 5 records in second page etc of the grid.
Please suggest some ways or techniques to achieve this.
tnx in adv
推荐答案
此处的完整说明: ^ ]
Full instructions here: Showing a page of information at a time in a GridView[^]
您可以在选择数据时进行排序.用您要分隔的字段进行排序.将sortexpression设置为该字段.寻找pageindexchaning.
you can do by sort while selecting data . Sort with field by which you are seperating. set sortexpression to that field. Look for pageindexchaning.
这篇关于有关GridView控件中动态填充的怀疑的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文