shlvy Posted August 17, 2004 Posted August 17, 2004 Hi My goal is to update details from a DAtabase. I wrote almost the whole code, i have a page2 that shows the table with option to update the details. The first page include the option to insert user and password and according to that to show page2 with the user details. My problem is to get the UserTextBox from the firstpage to the second page, that's because i use with the next query: ("SELECT * FROM tblUsers WHERE UserName='UserFromTheFirstPage.Text' ", Conn) I want to write the UserName from the first page instead of 'UserFromTheFirstPage'. Thank's. Quote
Moderators Robby Posted August 17, 2004 Moderators Posted August 17, 2004 You can pass the name in a query string from page one to page two, I suggest getting the value of the textbox from page one whilst in page two, I have sample on how to use this method here..."Passing Data and Controls From Page To Page in ASP.NET " http://www.bassicsoftware.com/CodeLibrary.aspx?searchcategory=20 Quote Visit...Bassic Software
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.