protected void Page_Load(object sender, EventArgs e) { if (Session["Rights"].ToString() == "0") { divAdmin.Visible = false; } if (!IsPostBack) { lblEmpCount.Text = objEmployee.EmployeeCount(); dlBirthday.DataSource = objEmployee.Birthday(); dlBirthday.DataBind(); if (dlBirthday.Items.Count == 0) { lblMessage.Text = "No Alerts this Month"; } } }