protected void Page_Load(object sender, EventArgs e) { theme = (string)Session["theme"]; if (!IsPostBack) { if (Session["Survay"] != null) { survay = (SurvayClass)Session["Survay"]; this.DisplaySurvay(); } else if (Request.Cookies["UserName"] != null) { txtCourse.Text = Request.Cookies["UserName"].Value; txtProf.Text = Request.Cookies["Email"].Value; } else { } } }
protected void Page_Load(object sender, EventArgs e) { theme = (string)Session["theme"]; survay = (SurvayClass)Session["Survay"]; this.Displaysurvay(); }