DevExpress报表

///

/// DevExpress Reports 报表 /// /// /// /// public static void ReportShow(DataSet reportDS,string strReportName,int reportMode) { XtraReport report=null; if (strReportName == "") { report = new XtraReport(); } else { report = XtraReport.FromFile(strReportName, true); } report.DataSource = reportDS; switch(reportMode) { case 0: report.ShowDesignerDialog(); break ; case 1: report.ShowPreview(); break; case 2: report.Print(); break; }; }  

你可能感兴趣的:(开发技术-Net)