Hi,
IS there away to store values between forms, without using Viewstate, sessions, or cookies,
//A class:
public
class BaseClass : System.Web.UI.Page{
private string test = ""; public string A {get{return test;} set {test=value;} }}
my first webform1.aspx
private void bt_c_Click(object sender, System.EventArgs e)
{
BaseClass bc =
new BaseClass();bc.A = "hello world";
Response.Redirect("WebForm2.aspx");
}
after it redircts to webform2.aspx and when I try to print the value: The value is blank, why is that
BaseClass bc =
new BaseClass();Response.Write("-------<BR>"+bc.A);
Thank you,