I have gridview with multiple pages of records in a.aspx.
When I click a button in b.aspx I need to go to a specific page that contains the record in the gridview.
I have gridview with multiple pages of records in a.aspx. When I click a
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
I assume that you actually want to go to a specific record instead. Then i would pass it’s ID via url-parameter (or session) and then go to the page in the grid with this record. That’s is better because the page might change(f.e. with sorting).
Assuming that your grid lists products and you want to ensure that a perticular product is shown because you’ve just edited the product-details on another page. Also assuming that your
DataSourceis aDataTable(but it doesn’t really matter):