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();

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

时间: 2024-08-30 07:29:23

this application was created using the trial version of the xtrareports 解决方法的相关文章

〖Linux〗Kubuntu, the application 'Google Chrome' has requested to open the wallet 'kdewallet'解决方法

每次打开Google都提示: the application 'Google Chrome' has requested to open the wallet 'kdewallet'... 原来是Google Chrome调用了 Kdewallet 保存密码: 但是呢,其实我更加推送使用LastPass(一直在使用着呢) 所以,还是赶紧地禁用Google Chrome调用 Kdewallet 吧. 解决方法: 编辑文件~/.kde/share/config/kwalletrc,追加内容: [Au

Application.Exit()结束程序,但线程还在的解决方法。

Application.Exit()结束程序,但线程还在的解决方法. 出现此情况大多原因是使用了多线程编程,或者你所调用的dll使用了多线程.我们知道,一般情况下的线程执行完指定的任务之后是会关闭了的,但是如果对于一些循环类线程,或者忘记关掉的线程时,这个时候就需要我们手动将之强制关闭.用以下三个中的一个即可尝试强制关闭线程. 复制内容到剪贴板 代码: Application.ExitThread();//退出当前线程上的消息循环,并关闭该线程上的所有窗口.    复制内容到剪贴板 代码: Sy

Rider 2017.1.1下跑AVD出现Unexpected schema version 3错误的解决方法

本人在mac下使用Rider开发.net跨平台项目,在跑Android项目调用google自带模拟器时出现了Unexpected schema version 3错误.尝试多次,终于找到比较傻瓜的解决方法: 1.在ADV中删除所有模拟器 2.只创建一个模拟器 3.运行Rider下Android项目 问题解决.根据尝试,目前只能创建一个模拟器,否则会再次出现Unexpected schema version 3错误,如想多个模拟器测试,可另外使用Genymotion创建模拟器.

the evaluation period for visual studio trial edition has ended的解决方法-转发

首先献上自己收集的Visual studio 2008序列号: Visual Studio 2008 Professional Edition: XMQ2Y-4T3V6-XJ48Y-D3K2V-6C4WTVisual Studio 2008 Team Test Load Agent:WPX3J-BXC3W-BPYWP-PJ8CM-F7M8TVisual Studio 2008 Team System:PYHYP-WXB3B-B2CCM-V9DX9-VDY8T<Visual Studio 2008

&quot;Only the original thread that created a view hierarchy can touch its views.” 解决方法

这个主要总是,开启的线程和 UI 线程(主线程)不是同一个线程.可以Runnable方式避免,如下例所示就可以解决这个问题了. public static void updateText(Activity act, resID) { loadingText = (TextView) activity.findViewById(R.id.loadingScreenTextView); act.runOnUiThread(new Runnable() { public void run() { lo

Building MFC application with /MD[d] (CRT dll version)requires MFC shared dll version

错误提示:Building MFC application with /MD[d] (CRT dll version)requires MFC shared dll version 出现以上情况 解决方法 在 项目/属性/常规/use of MFC 选项中选择 Use MFC in a Shared DLL 编译后通过.

【exe4j】exe4j中&quot;This executable was created with an evaluation version of exe4j&quot;

在使用exe4j时,如果您的exe4j没有注册,在运行有exe4j转换的*.jar为*.exe的可执行文件是会提示:"this executable was created with an evaluation version exe4j"的对话框,如下: 解决此问题的办法就是注册exe4j软件,在welcome to exe4j的右下角有一个注册信息的按钮,点击注册按钮. 在下图框中用户名和公司可以随便填,License key中填写下面给出的注册码,点击ok就可以注册成功了,在用e

fatal error C1189: #error : Building MFC application with /MD[d] (CRT dll version) requires MFC sha

调试程序时出现以下问题:d:\program files (x86)\microsoft visual studio 10.0\vc\atlmfc\include\afx.h(24): fatal error C1189: #error :  Building MFC application with /MD[d] (CRT dll version) requires MFC shared dll version. Please #define _AFXDLL or do not use /MD

exe4j中&quot;this executable was created with an evaluation错误解决方法

在使用exe4j时,如果您的exe4j没有注册,在运行有exe4j转换的*.jar为*.exe的可执行文件是会提示:"this executable was created with an evaluation version exe4j"的对话框,如下: 解决此问题的办法就是注册exe4j软件,在welcome to exe4j的右下角有一个注册信息的按钮,点击注册按钮. 在下图框中用户名和公司可以随便填,License key中填写下面给出的注册码,点击ok就可以注册成功了,在用e