Querystrings can be used to send information from one webpage to another.
The code to send the data is:
The code to send the data is:
Response.Redirect("confirm.aspx?FirstName=" & txtFirstName.Text)
confirm.aspx is the page url; the ? denotes the start of the query; FirstName is the field name and the txtFirstName is where the fields data is stored.
Any subsequent field names begin with an &.The code to receive the data is: Request.QueryString("FirstName") which simply uses the field name to identify what data you are asking for.
No comments:
Post a Comment