简体   繁体   中英

How to create two columns RDLC report C#, my second column does not show data

I am trying to create two column report for labeling purposes, I followed instructions on the following link: blogs.wrox.com/article/creating-mailing-labels-in-sql-server-reporting-services

But the data keeps appearing on one column and not on both columns, I changed all sizes and tried tables and lists same results, it just won't populate the second column.

When I added a second field, column 2 shifted to the right, changing the the size of the report.

在此处输入图片说明

|Field 1 | -- |Field 1 Copy| -----> Column 2 (shifted)

I continued anyway and it shows two of the same values side by side, but in reality they are on the same column, which means I have two fields on the same column, if I hide one, the second will shift and show on the lift side, I have changed the font style to distinguish them from the attached photo.

在此处输入图片说明

| Customer1 | -- | Customer1 |

| Customer2 |

The multiple column options in RDLC cause the second column to be treated like a second page and the data only flows into the second column once the first is populated. If you want to force someting to the second column try setting it to have new page before the field and list them. Or don't use the multiple column layout and just put a two column table on the report.

检查报告查看器的宽度,从图像中似乎expr1和expr2具有更大的宽度,并且还删除了第二个expr2

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM