在Crystal Reports中以表格格式显示DataTable [英] Showing DataTable in Table format in Crystal Reports

查看:96
本文介绍了在Crystal Reports中以表格格式显示DataTable的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好,

我正在使用Visual Studio 2008的Crystal Reports Basic,并使用C#来
对应用程序进行编程.

我正在使用动态创建的DataTable作为Crystal Report的数据源.一切都按其应有的方式工作,除了它在我的报告中每页仅显示一行.我在详细信息"部分中具有数据库字段",但是将"NewPageAfter"和"NewPageAfter"设置为false.

如何以TABLE格式输出DataTABLE?看起来应该很容易.

谢谢.

Hello,

I am using Crystal Reports Basic for Visual Studio 2008, and using C# to
program the application.

I am using a dynamically created DataTable as a Data Source for a Crystal Report. Everything is working as it should, except that it shows only one row per page in my report. I have the Database Fields in the Details section, but I have "NewPageAfter" and "NewPageAfter" set to false.

How do I output a DataTABLE in TABLE format? It seems like it should be so easy.

Thanks.

推荐答案

在详细信息部分的字段中拉出并在其中显示数据!他们充当桌子.根据需要设计表(列和排列)

在详细信息"部分中删除字段应该可以为您完成这项工作.看看这篇文章: Crystal Reports and Reporting Services [
Pull in the field in the detail section and display data in it! They act as the table. Design the table as you want (columns and arrangement)

Dropping the fields in Detail section should do the job for you. Have a look at this article:Crystal Reports and Reporting Services[^]


如果右键单击放置字段的详细信息部分,将出现部分专家".在这种情况下,必须有一个保持在一起"的选项-勾选它.试试吧!
If you right click the detail section in which you had put up the fields, there would be ''Section expert''. In that, there must be an option of ''Keep Together'' - tick it. Try this!


这篇关于在Crystal Reports中以表格格式显示DataTable的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆