My web page looks like this
name(textbox1)
email(textbox2)
age(textbox3)
phoneno(textbox4)
submit(button) showfile(hyperlink)
How can I get the values of textboxes saved in “showfile” web page after onclick in the submit button? Can anyone help me?
Update – based on the OP’s comments, i have updated my answer
To pass a value between to pages, try this
In the first page button click event handler, write something like this
then go to the page where you want to display
In the design page add a asp.net
Labelcontrol like thisand in the page load event handler or whatever event you want to display the text previously stored in the session write the following code
I don’t think you can use
textbox1as id for more than oneTextBoxin your asp.net page, any way you can simply usetextbox1.Textproperty to get the text you wanted