예제 #1
0
        private void export15(string folio)
        {
            DataTable tablaOrden  = GetHeader(folio);
            DataTable tablaDeatil = GetDetail(folio);

            RptOrden fac = new RptOrden(tablaOrden, tablaDeatil);
        }
예제 #2
0
        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");
            }
        }