码迷,mamicode.com
首页 > 移动开发 > 详细

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

时间:2019-03-19 12:36:12      阅读:490      评论:0      收藏:0      [点我收藏+]

标签:nbsp   rtp   解决   code   txt   and   cat   version   class   

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 解决方法

标签:nbsp   rtp   解决   code   txt   and   cat   version   class   

原文地址:https://www.cnblogs.com/woaijingjing/p/10557573.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!