Click here to Skip to main content
16,016,759 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Can any one please tell how to load the textboxes of one page with the data of gridview from another page when we click on edit hyperlink of particular row in gridview
Posted

1 solution

Your reference to hyperlink makes me think that even though you did not tag this question ASP.NET, that is what you are using.

You should read a basic book on ASP.NET to understand what it is and what it does. Your previous page no longer exists. Storing values in the session, passing an id on the URL and reading your data from the database, a cross page postback ( which is a part of the framework but such a hack that I refuse to use it ), and making your pages controls on the one page so you can use viewstate are your only options here. You can't look back at values in a previous page unless you've somehow stored them, otherwise they are gone.
 
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