本文介绍了ReportViewer 在错误页面上分页并生成不必要的页面的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在学习创建报告查看器应用程序.我有大约 14 行.对于每 7 行,我正在放置分页符.但是当我点击打印布局"查看打印预览时,第一页有前 7 行,然后 接下来的 3-4 页只是空白,然后又是最后 7 行.它总共总是生成 6 页.
I am learning to create report viewer application. I have about 14 rows. For each 7 rows I am putting page break. But When I click on "Print Layout" to see the print preview , the first page has first 7 rows then next 3-4 page just blank and then again last 7 rows. In total it is always generating 6 pages.
在我尝试过的特定行上分页:
To page break on specific rows I have tried:
- 如何分页之后rdlc 报告中的特定行(假设 25 行)
- http://social.msdn.microsoft.com/Forums/sqlserver/en-US/253b76b8-d577-432b-b352-11a3c91fb8c6/limit-matrix-row-number-per-page?forum=sqlreportingservices(Tom Willwerth 的回复).
- How to page break after specific row(Suppose 25 rows) in rdlc reporting
- http://social.msdn.microsoft.com/Forums/sqlserver/en-US/253b76b8-d577-432b-b352-11a3c91fb8c6/limit-matrix-row-number-per-page?forum=sqlreportingservices (Reply of Tom Willwerth) .
为什么会发生这种情况,我该如何解决?
Why it is happening and how I can fix it please?
推荐答案
检查您的报告是否太宽.如果是,多余的部分放在下一页或多页.
Check that your report is not too wide. If it is, the excess is put on the next page or pages.
这篇关于ReportViewer 在错误页面上分页并生成不必要的页面的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!