protected void Page_Load(object sender, EventArgs e) { if (Session["username"] != null) { label1.Text = Session.SessionID; Response.Write("welcome"); } else { Response.Redirect("login.aspx"); } } protected void TextBox2_Click(object sender, EventArgs e) { using (SuperFastEntities db = new SuperFastEntities()) { <pre lang="c#">
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)