protected void Page_Load(object sender, EventArgs e) { if (this.Session["usuario"] == null) { this.Response.Redirect("~/InicioQYMS2.aspx"); } this.user = (UsuarioBC)this.Session["usuario"]; if (!this.IsPostBack) { CargaDrops c = new CargaDrops(); SolicitudBC sol = new SolicitudBC(); this.txt_desde.Text = DateTime.Now.AddDays(-1).ToShortDateString(); this.txt_hasta.Text = DateTime.Now.ToShortDateString(); c.Site_Normal(this.ddl_site, this.user.ID); this.utils.CargaDropTodos(this.ddl_buscarEstado, "ID", "DESCRIPCION", sol.ObtenerEstadosCargaReporte()); } }