How to store Dropdown value or text into the session.
protected void btn_Click(object sender, EventArgs e)
{
Session["field"] = dropdownDdl.SelectedValue.ToString();
Session["Assign"] = objLogicLayer;
Response.Redirect("Stud_Report.aspx");
}
protected void btn_Click(object sender, EventArgs e)
{
Session["field"] = dropdownDdl.SelectedValue.ToString();
Session["Assign"] = objLogicLayer;
Response.Redirect("Stud_Report.aspx");
}
0 comments: