Click here to Skip to main content
15,922,309 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hi,
i am making an application in that i am using data grid view for storing data,in the bottom of this view there is 2 button i.e. previous and next.
i want when i click on next button it opens blank grid view and when click on previous button it shows me last entered data in that grid view.
i have already tried but it not shows last data of grid view.
how can i maintain previous data on grid view that shows me on previous button click ?
Posted
Comments
sahabiswarup 6-Apr-14 2:46am    
you may use stored procedure and inside that use ROW_NUMBER() to get number of records in each time.

1 solution

 
Share this answer
 
Comments
Sarath kumar.N 6-Apr-14 5:10am    
Try to save the session. It may help you.
[no name] 6-Apr-14 5:12am    
are you telling me or tejas.91 ?. Try to put your comment in proper place

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