In this lesson, you will learn how to create reports at runtime. A report showing a list of Tasks will be created in the WinForms application at runtime and then will be available for printing in both WinForms and ASP.NET applications.

在本课中,您将学习如何在运行时创建报表。在运行时,将在 WinForms 应用程序中创建显示任务列表的报表,然后在 WinForms 和ASP.NET应用程序中打印。

Tip 提示
You can also create a new report in an ASP.NET application (see Create and View Reports in an ASP.NET Application).
您还可以在ASP.NET应用程序中创建新报表(请参阅在ASP.NET应用程序中创建和查看报表)。

1.Run the WinForms application and go to the Reports List View.

运行 WinForms 应用程序并转到"报表列表"视图。

2.Create a new report by clicking the New button ().

3.Name this report "Tasks Report", set the Data Type to "Task" and click Next.

单击"新建"按钮(button_new)创建新报表。

命名此报告"任务报告",将数据类型设置为"任务",然后单击"下一步"。

Note 注意
The Data Type drop-down list shows only those business classes that have the DefaultClassOptionsAttribute or VisibleInReportsAttribute applied.
"数据类型"下拉列表仅显示应用了默认类选项属性或"可见InReports属性"的业务类。

4.Choose the "Table Report" type and click Next.

选择"表报表"类型,然后单击"下一步"。

5.Add the following fields.

添加以下字段。

  • Subject
  • Priority
  • Status
  • Percent Completed
  • 主题
  • 优先
  • 地位
  • 已完成百分比

  • Click Next to skip the grouping configuration, summary functions, and report page settings.
  • 单击"下一步"可跳过分组配置、摘要函数和报表页设置。
  • Choose the Azure report color scheme and click Next.
  • 选择 Azure 报表配色方案,然后单击"下一步"。
  • Set the title to "Tasks" and click Finish.
  • 将标题设置为"任务",然后单击"完成"。
  • After clicking Finish, the Runtime Report Designer will be invoked.
  • 单击"完成"后,将调用运行时报表设计器。
  • Customize the report, save it by clicking the Save button (), and open it from the Reports List View. This report will also be available in the ASP.NET version of the application.

  • 自定义报表,通过单击"保存"按钮(btn_report_save)保存报表,然后从"报表列表"视图打开它。此报告还将在应用程序的ASP.NET版本中提供。

Create a Report at Runtime 在运行时创建报表的更多相关文章

  1. 【翻译】利用Qt设计师窗体在运行时创建用户界面(Creating a user interface from a Qt Designer form at run-time)

    利用Qt设计师窗体在运行时创建用户界面 我们利用Calculator窗体例子中创建的窗体(Form)来展示当一个应用(application)已经生成后,是可以在其运行时产生与例子中相同的用户界面. ...

  2. 在Stimulsoft Reports.Net运行时修改报表的连接字符串

    怎么在Stimulsoft Reports.Net运行时修改报表的连接字符串?怎么改呀 C# StiReport report = new StiReport(); report.Load(" ...

  3. RunTime(运行时机制)

    1>runtime实现的机制是什么,怎么用,一般用于干嘛? 这个问题我就不跟大家绕弯子了,直接告诉大家, runtime是一套比较底层的纯C语言API, 属于1个C语言库, 包含了很多底层的C语 ...

  4. Run-time Settings 运行时设置

    1.执行顺序设置和执行概率设置 2.迭代之间的等待时间设置 3.日志设置 4.思考时间 5.杂项 线程进程选择: 一般服务器没有安全机制选择线程执行 但是有安全机制的话 比如第一个进程50个线程 第二 ...

  5. fastReport 运行时设计报表 (mtm)

    设计报表 通过“TfrxReport.DesignReport”方法调用报表设计器.你必须在你的项目中包含报表设计器 (必要条件是:要么使用“TfrxDesigner”组件,要么增加“frxDesgn ...

  6. vue 动态创建组件(运行时创建组件)

    function mountCmp (cmp, props, parent) { if (cmp.default) { cmp = cmp.default } cmp = Vue.extend(cmp ...

  7. [UE4]运行时创建Actor

  8. iOS运行时 -- Runtime(摘抄自网络)

    运行时(iOS) 一.什么是运行时(Runtime)? 运行时是苹果提供的纯C语言的开发库(运行时是一种非常牛逼.开发中经常用到的底层技术) 二.运行时的作用? 能获得某个类的所有成员变量 能获得某个 ...

  9. Objective-C Runtime 运行时之一:类与对象

    Objective-C语言是一门动态语言,它将很多静态语言在编译和链接时期做的事放到了运行时来处理.这种动态语言的优势在于:我们写代码时更具灵活性,如我们可以把消息转发给我们想要的对象,或者随意交换一 ...

随机推荐

  1. 全栈项目|小书架|微信小程序-实现搜索功能

    效果图 上图是小程序端实现的搜索功能效果图. 从图中可以看出点击首页搜索按钮即可进入搜索页面. 布局样式是:搜索框 + 热搜内容 + 搜索列表. 搜索框使用 lin-ui 中的 Searchbar组件 ...

  2. Spring Cloud第四篇 | 客户端负载均衡Ribbon

    ​ 本文是Spring Cloud专栏的第四篇文章,了解前三篇文章内容有助于更好的理解本文: ​Spring Cloud第一篇 | Spring Cloud前言及其常用组件介绍概览 Spring Cl ...

  3. MongoDB 谨防索引seek的效率问题【华为云技术分享】

    目录 背景 初步分析 索引seeks的原因 优化思路 小结 声明:本文同步发表于 MongoDB 中文社区,传送门:http://www.mongoing.com/archives/27310 背景 ...

  4. 华为云OCR文字识别 免费在线体验!

    嘿,华为云OCR文字识别了解一下,免费在线体验! 物流行业快速提取运单信息.医疗/保险行业单据快速录入.政务办事人证检验,你知道这些都是如何实现的么? 答案就是:OCR文字识别! 作为AI时代效率倍增 ...

  5. docker tomcat镜像部署springbootwar包

    springboot打war包 1.在pom文件中增加插件 <build> <finalName>xx</finalName> <plugins> &l ...

  6. Elasticsearch logstash filter

    参照官方文档: https://www.elastic.co/guide/en/logstash/current/advanced-pipeline.html demo-pipeline.conf i ...

  7. nitacm第十六届浙江大学宁波理工学院程序设计大赛总结

    校赛时间:2019.11.30周六下午12:00-16:00 重现赛链接:https://ac.nowcoder.com/acm/contest/2995#question 体验: 11点多到达石鳞大 ...

  8. 马拉车manacher

    目的:线性查找一个串的最长回文子串 时间复杂度:O(n) len[i]表示以i为中心的回文串的半径,mx即为当前计算回文串最右边字符的最大值,p是中心点mid,mx-i和2*p-1关于p对称 http ...

  9. Codeforces 题解 CF863A 【Quasi-palindrome】

    此题本质上是:求一个数去掉后缀零后是否是回文串 因此,代码分为: >>> 读入 >>> 删除后缀0 >>> 判断回文 >>> 转 ...

  10. HashMap的常见问题

    关于HashMap的一些常见的问题,自己总结一下: 首选HashMap在jdk1.7和jdk1.8里面的实现是不同的,在jdk1.7中HashMap的底层实现是通过数组+链表的形式实现的,在jdk1. ...