G
Guest
I'm trying to post from Page1 to Page2.
Page1:
controlData.Value = "Data value";//controlData is HtmlInputHidden
// Request.Form["controlData"] would return: "Data"
Server.Redirect("Page2.aspx",true);
Page2:
string sData = Request.Form["controlData"] ;//would return: "Data"
Problem: sData gives me: "Data" where I want to get "Data value";
How else can I send the string to Page2 if I have the string just before
Redirect(ing) ?
Thanks,
Oleg
Page1:
controlData.Value = "Data value";//controlData is HtmlInputHidden
// Request.Form["controlData"] would return: "Data"
Server.Redirect("Page2.aspx",true);
Page2:
string sData = Request.Form["controlData"] ;//would return: "Data"
Problem: sData gives me: "Data" where I want to get "Data value";
How else can I send the string to Page2 if I have the string just before
Redirect(ing) ?
Thanks,
Oleg