protected void Page_Load(object sender, EventArgs e) { if (Session.IsNewSession) { Response.Redirect("~/RespondHome.aspx"); } if (Session["UserName"] != null) { //System.Text.StringBuilder sb = new System.Text.StringBuilder(); //sb.Append("<i class='fa fa-edit'></i>"); //sb.Append("Welcome");s //sb.Append(Session["UserName"].ToString()); //sb.Append("<i class='fa fa-angle-down'></i>"); //UserName.InnerText = sb.ToString(); //UserName.InnerText = "Welcome" +" "+ Session["UserName"].ToString(); lblUser.InnerText = "Welcome" + " " + Session["UserName"].ToString(); lblUser.InnerText = "Welcome" + " " + Session["UserName"].ToString(); lblEnvironment.InnerText = ConnectionInfo.dbname; } }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)