protected void BindGrid() { if (ViewState["Listas"] != null) { ListaGridView.DataSource = ((Listas)ViewState["Listas"]).DetalleListas; ListaGridView.DataBind(); } }
protected void Buscar_Click(object sender, EventArgs e) { int id = Utils.ToInt(TextBoxCriterio.Text); int index = ToInt(DropDromFiltro.SelectedIndex); ListaGridView.DataSource = Funcionalidades.FiltrarLista(index, TextBoxCriterio.Text); ListaGridView.DataBind(); LlenaReport(index, TextBoxCriterio.Text); }