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