Click here to Skip to main content
15,909,953 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
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
Posted

 
Share this answer
 
you can do by sort while selecting data . Sort with field by which you are seperating. set sortexpression to that field. Look for pageindexchaning.
 
Share this answer
 
v3

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900