devexpress 12 之前报表打印:

XtraReports rp1 = new XtraReports();

rp1.ShowPreview();

即可预览报表;

devexpress 13 之后报表打印预览

XtraReports rp1 = new XtraReports();

ReportPrintTool tool = new ReportPrintTool(rp1);

tool.ShowPreview();

以前直接的可调用方法,也只能先新增ReportPrintTool,再调用ShowPreview()等方法;

04-20 21:15