I have a log in page, where you put your user ID in a text box, then you hit a continue button which guides you to the next page. I want the next page to be able to display the ID that the user typed in on the previous page. I can't seem to figure this out, and I thought it would be easier than it has been. Anyone have any easy solutions?How do you transfer a text box value to another page with ASP.NET?
Use the PreviousPage property of the second page to retrieve the value of the user ID. See the sources. It has exactly what you're looking for.How do you transfer a text box value to another page with ASP.NET?
Put the value in the URL as a querystring.
No comments:
Post a Comment