this application was created using the trial version of the xtrareports 解决方法

Posted woaijingjing

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了this application was created using the trial version of the xtrareports 解决方法相关的知识,希望对你有一定的参考价值。

XtraReport3 xtraReport = new XtraReport3();
var mlc = sp.tiaoma.ToList();
xtraReport.DataSource = mlc;

ReportPrintTool tool = new ReportPrintTool(xtraReport);

 

//操作要显示什么按钮
tool.PrintingSystem.SetCommandVisibility(new PrintingSystemCommand[]{
PrintingSystemCommand.Open,
PrintingSystemCommand.Save,
PrintingSystemCommand.ClosePreview,
PrintingSystemCommand.Customize,
PrintingSystemCommand.SendCsv,
PrintingSystemCommand.SendFile,
PrintingSystemCommand.SendGraphic,
PrintingSystemCommand.SendMht,
PrintingSystemCommand.SendPdf,
PrintingSystemCommand.SendRtf,
PrintingSystemCommand.SendTxt,
PrintingSystemCommand.SendXls
}, CommandVisibility.None);
tool.ShowPreview();

 

以上是关于this application was created using the trial version of the xtrareports 解决方法的主要内容,如果未能解决你的问题,请参考以下文章