Click here to Skip to main content
15,896,118 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have taken 2 forms.in first form i taken gridview and displayed the data.while cell double click event in gridview another form is loaded with gridview selected values.And i i assign the values to textboxes in 2nd form.now how can i retrivwe the next,prev,first,last records in second form.pls any one can help me.
Posted

1 solution

Well, for such a scenario:
1. Either have a sequence number to the search result in your form 1 and track the records based on the current selected sequence number
OR
2. have a ordered result set on unique identifier such that you can do the next, previous on result set based on the identifier.

Try!
 
Share this answer
 

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