private void GetEmpBirthday() { grBirthday.DataSource = objMst.GetEmpBirthday(); grBirthday.DataBind(); foreach (GridViewRow gRow in grBirthday.Rows) { gRow.Cells[4].Text = Common.DisplayDate(gRow.Cells[4].Text); if (Convert.ToDecimal(gRow.Cells[5].Text) == 0) { gRow.Cells[5].Text = "Today"; gRow.Cells[5].BackColor = System.Drawing.Color.LightGreen; } } lblBirthday.Text = grBirthday.Rows.Count.ToString(); if (grBirthday.Rows.Count > 0) { pnlBirthDay.Visible = true; } else { pnlBirthDay.Visible = false; } }