private void export15(string folio) { DataTable tablaOrden = GetHeader(folio); DataTable tablaDeatil = GetDetail(folio); RptOrden fac = new RptOrden(tablaOrden, tablaDeatil); }
private void export15(string folio) { try { DataTable tablaOrden = GetHeader(folio); DataTable tablaDeatil = GetDetail(folio); RptOrden fac = new RptOrden(tablaOrden, tablaDeatil); this.ReportViewer1.Report = fac; this.ReportViewer1.RefreshReport(); } catch (Exception ex) { MessageBox.Show("Folio no encontrado"); } }