protected void Page_Load(object sender, EventArgs e) { DataList1.DataSource = objEvento.VerEvento(); DataList1.DataBind(); if (!IsPostBack) { MostrarCAtalogo(); } }
protected void Page_Load(object sender, EventArgs e) { Session.Remove("IDUsuario"); DataList1.DataSource = objEvento.VerEvento(); DataList1.DataBind(); if (!IsPostBack) { MostrarCAtalogo(); } }
public void Rechazar() { EventosDAO d = new EventosDAO(); GridView2.DataSource = d.VerEvento(); GridView2.DataBind(); }
protected void Page_Load(object sender, EventArgs e) { Fecha.Text = DateTime.Now.ToString(); Label1.Text = DateTime.Now.ToString(); Label2.Text = DateTime.Now.ToString(); EventosDAO d = new EventosDAO(); GridView1.DataSource = d.VerUsuarios(); GridView1.DataBind(); GridView2.DataSource = d.Aprobar(); GridView2.DataBind(); GridView3.DataSource = d.VerEvento(); GridView3.DataBind(); }