//Login User public void GetEmployeeDets() { objLogin.UserAccountId = Session["UserAccountID"].ToString(); DataSet dsEmpReports = objLogin.GetLoginEmployeeDetails(); if (dsEmpReports.Tables[0].Rows.Count > 0) { LblLoginUser.Text = dsEmpReports.Tables[0].Rows[0]["FirstName"].ToString() + " " + dsEmpReports.Tables[0].Rows[0]["LastName"].ToString(); } }