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. Spring Cloud Hoxton正式发布,Spring Boot 2.2 不再孤单

    距离Spring Boot 2.2.0的发布已经有一个半月左右时间,由于与之匹配的Spring Cloud版本一直没有Release,所以在这期间碰到不少读者咨询的问题都是由于Spring Boot和 ...

  2. jQuery操作元素对象的样式

    在jQuery中操作元素为了加快速度,或者书写速度,可以用到json的格式: <!DOCTYPE html> <html> <head> <meta char ...

  3. Spring Cloud第八篇 | Hystrix集群监控Turbine

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

  4. ESP8266调试(UDP调试)

    1.设置STA模式 AT+CWMODE=1 2.加入热点 AT+CWJAP="Admin_name","password" 3.开启单路连接 AT+CIPMUX ...

  5. 转-友晶Sdram_Control_4Port的全页操作Bug?

    http://www.cnblogs.com/edaplayer/p/3678897.html 以前在学校初学fpga的时候碰到sdram就搞不定了,现在突然发现网上有好多现成的代码,友晶的,alte ...

  6. 关于《iBoard 电子学堂》的学习及进阶方式(精 转)

    关于<iBoard 电子学堂>的学习及进阶方式 <iBoard 电子学堂>自发布以来,受到广大网友的热烈关注.虽然我前期设计我花了大量精力,但能得到大家的认可,我也非常欣慰.由 ...

  7. RequireJS 打包工具

    r.js是RequireJS的一个附产品,支持在 NodeJS环境下运行AMD程序,并且其包含了一个名为RequireJS Optimizer的工具,可以为项目完成合并脚本等优化操作 RequireJ ...

  8. java虚拟机运行内存图

    首先针对8种常见数据类型(byte,short,int,long,double,float,char,boolean),还有String,他们在类对象被引用的时候,把数据类型存放在栈中,而常量则放在常 ...

  9. Lamada表达式小技巧介绍

    函数式编程 @FunctionalInterface interface Lf{ void dispaly(); } @FunctionalInterface为显示定义函数时编程接口,不符合函数式编程 ...

  10. CSS之position属性

    层级的话可以用z-inde进行设置