如何在两列上生成 RDLC 报告? [英] How can generate RDLC report on two columns?
本文介绍了如何在两列上生成 RDLC 报告?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我使用的是 Visual Studio 2010.我必须生成这样的报告:
I'm using Visual Studio 2010. I must generate a REPORT like that:
_________________________________
| NAME SURNAME | NAME SURNAME |
| ADDRESS | ADDRESS |
| NUMBER | NUMBER |
| | |
| NAME SURNAME | NAME SURNAME |
| ADDRESS | ADDRESS |
| NUMBER | NUMBER |
但现在的结果是这样的:
But the result now is like that:
_________________________________
| NAME SURNAME | |
| ADDRESS | |
| NUMBER | |
| | |
| NAME SURNAME | |
| ADDRESS | |
| NUMBER | |
| | |
| NAME SURNAME | |
| ADDRESS | |
| NUMBER | |
| | |
| NAME SURNAME | |
| ADDRESS | |
| NUMBER | |
我已将这样的数据源(一个业务对象)与我的报告相关联:
I've associated to my report a DataSource (one Business Object) like that:
public class User
{
public string Name {get;set;}
public string Surname {get;set;}
etc..
}
我尝试过使用表格、列表和矩阵,但我总是得到第二个结果.
I've tried with Table, Lists and Matrix but I have had always the second result.
我该如何解决?
感谢您的支持.
推荐答案
Ciao,
您必须设置报告的 Columns
和 ColumnSpacing
属性:
you have to set Columns
and ColumnSpacing
properties of your report:
- 显示
属性
窗口 - 点击
Report
(页面外的灰色区域) - 查找并设置
Columns
属性
- display
Property
window - click on
Report
(grey area outside your page) - find and set
Columns
property
这篇关于如何在两列上生成 RDLC 报告?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文