protected void Page_Load(object sender, EventArgs e) { try { if (!IsPostBack) { if (Session["UserName"] == null) { Response.Redirect("FrmLogin.aspx"); } BD.BindYear(DDlYear); BD.BindDay(DdlDay); } } catch (Exception Ex) { ExceptionLogging.SendErrorToText(Ex); } }