Let's say I have four textbox values I want to pass back to another page. In the Response.Redirect string I have something now like
Response.Redirect("Page2.aspx?ID=" & txtbox.Text.ToString() & txtGroup.Text.ToString() & ddl1.SelectedValue.ToString() & " " & Mid(ddl2.SelectedItem.ToString)
How / can I pass the text box and ddl values separately?
Something like:
response.redirect("page2.aspx?txtbox=" & txtbox.Text.ToString() & ?ddl1=& ddl1.SelectedValue.ToString())
Do I have to use some special characters to separate them, look for that special character, then figure out with a Mid() to pull the string?
Response.Redirect("Page2.aspx?ID=" & txtbox.Text.ToString() & txtGroup.Text.ToString() & ddl1.SelectedValue.ToString() & " " & Mid(ddl2.SelectedItem.ToString)
How / can I pass the text box and ddl values separately?
Something like:
response.redirect("page2.aspx?txtbox=" & txtbox.Text.ToString() & ?ddl1=& ddl1.SelectedValue.ToString())
Do I have to use some special characters to separate them, look for that special character, then figure out with a Mid() to pull the string?