Exemplo n.º 1
0
        protected override void export( )
        {
            printOne           = _bll.getPrintOne(_dc.DC001);
            printOne.TableName = "R_PQDD";
            printTwo           = _bll.getPrintTwo(_dc.DC001);
            printTwo.TableName = "R_PQDC";

            Report  report   = new Report( );
            DataSet RDataSet = new DataSet( );

            RDataSet.Tables.Add(printOne);
            RDataSet.Tables.Add(printTwo);
            report.Load(Application.StartupPath + "\\R_429.frx");
            report.RegisterData(RDataSet);
            report.Prepare( );
            XMLExport exprots = new XMLExport( );

            exprots.Export(report);

            base.export( );
        }