【发布时间】:2013-04-23 13:17:47
【问题描述】:
我想直接打印我的水晶报表,而不弹出打印机选择。 我该怎么做?
myReportDocument.SetDataSource(saveDataSet);
//Print
crystalReportViewer1.ShowRefreshButton = false;
crystalReportViewer1.ShowCloseButton = false;
crystalReportViewer1.ShowGroupTreeButton = false;
crystalReportViewer1.ReportSource = myReportDocument;
crystalReportViewer1.PrintReport();
我正在使用默认(也是唯一的)打印机。
【问题讨论】:
标签: c# crystal-reports printing report