Click here to Skip to main content
15,921,250 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello,
i'm developing a page where i have to show users data in grid, in such way that first i have to bind the 10 records then on user click i want to append the result to 20 without binding the previous result that means only records fro 11 to 20 should be appended to grid.

example:
first i want to display 10 records and on user click i want to again display 10 records so total records will be 20 but binding only 10 and using previous 10


Thanks
Pradeep Jadhav
Posted
Updated 20-Sep-11 2:08am
v2

 
Share this answer
 
Comments
pradeepjdv 20-Sep-11 7:34am    
thanks for reply but i told already that first i want to display 10 records and on user click i want to again display 10 records so total records will be 20 but binding only 10 and using previous 10
I guess you are looking for Paging in gridview.
Use gridview's Paging functionality, its easy to implement.
 
Share this answer
 
Comments
pradeepjdv 20-Sep-11 7:34am    
sory i dont want paging

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