How to make RDLC report two column

谁说胖子不能爱 提交于 2019-12-13 01:37:16

问题


I have a simple report which is supposed to be used for printing stickers. The sticker paper is A4 size and it has two columns. I successfully managed to print data to left column. I also want to print data to right column too. My current report looks like this :

[Title]
[NameLastName]
[Address]

How can I make my report to fill data to two columns? Thanks.

EDIT :

I have generated another column as suggested in other questions. But the result is still one column, Can anyone tell me the next step?


回答1:


The simplest way to do it [I think] is to:

  • add additional "columnNumber" column and make it "1" for, say, all odd rows and "2" for all even rows.
  • then place two tables side by side and make the same DataSetName property for both of them
  • then filter the data in each table based on the columnNumber Value (add Filter to Filters property of the table)


来源:https://stackoverflow.com/questions/29126038/how-to-make-rdlc-report-two-column

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!