public virtual ReportDocument CreateReport() { CrystalReportFlujo rpt = new CrystalReportFlujo(); rpt.Site = this.Site; return(rpt); }
private void Page_Load(object sender, System.EventArgs e) { // Introducir aquí el código de usuario para inicializar la página string sql; //string post_ncorr; //string paga_ncorr; //string imprimirFinanza; //string paga_ncorr_d; //int fila = 0; //post_ncorr = Request.QueryString["post_ncorr"]; sql = EscribirCodigo(); oleDbDataAdapter1.SelectCommand.CommandText = sql; oleDbDataAdapter1.Fill(flujoEfectivo1); //} //Response.End(); //Response.Write(sql); //Response.End(); CrystalReportFlujo reporte = new CrystalReportFlujo(); reporte.SetDataSource(flujoEfectivo1); VerReporte.ReportSource = reporte; ExportarPDF(reporte); }
public virtual ReportDocument CreateReport() { CrystalReportFlujo rpt = new CrystalReportFlujo(); rpt.Site = this.Site; return rpt; }
private void Page_Load(object sender, System.EventArgs e) { // Introducir aqu� el c�digo de usuario para inicializar la p�gina string sql; //string post_ncorr; //string paga_ncorr; //string imprimirFinanza; //string paga_ncorr_d; //int fila = 0; //post_ncorr = Request.QueryString["post_ncorr"]; sql = EscribirCodigo(); oleDbDataAdapter1.SelectCommand.CommandText = sql; oleDbDataAdapter1.Fill(flujoEfectivo1); //} //Response.End(); //Response.Write(sql); //Response.End(); CrystalReportFlujo reporte = new CrystalReportFlujo(); reporte.SetDataSource(flujoEfectivo1); VerReporte.ReportSource = reporte; ExportarPDF(reporte); }