adding info to another page
-
If someone fills in first name on page1.aspx and i want that to appear on page2.aspx, how do i do that? lets say the element name for both of them is fname. Thanks in advance
Well, you could do a cross page postback:
Page.PreviousPage.FindControl("txtName");
Deja View - the feeling that you've seen this post before.
-
If someone fills in first name on page1.aspx and i want that to appear on page2.aspx, how do i do that? lets say the element name for both of them is fname. Thanks in advance
Cross page postback is one way, storing information in the session is another, passing it on the URL is another ( this is not safe ), another is to pass an Id on the URL and use it to get the information out of hte database, if it's previously been stored there.
Christian Graus - Microsoft MVP - C++ "I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )