protected void Page_Load(object sender, EventArgs e) { string user_name = Session["USER_NAME"] as string; //user_name = "stefan21"; objDataHandling.user_name = user_name; if (user_name == null || user_name == "") { Response.Redirect("frmHome.aspx", false); } else { lblUser.Text = Session["USER_FULL_NAME"] as string; //lbl_hi_user.Text = user_name; } objDataHandling.showData(grdSankeyHistory); }