protected void LoadGridMinutas() { mbl = new MinutasBL(); gdvMinutas.DataSource = mbl.GetMinutas(FiltroMinutas()); gdvMinutas.PageIndex = npageMinuta; gdvMinutas.DataBind(); }
protected void btnExportar_Click(object sender, EventArgs e) { DateTime Hoy = DateTime.Today; string fecha_actual = Hoy.ToString("ddMMyyyy"); mbl = new MinutasBL(); gdvExportarHistorial.DataSource = mbl.GetMinutas(FiltroMinutas()); gdvExportarHistorial.DataBind(); Exportar(gdvExportarHistorial, "Historialminutas_" + fecha_actual); }