简体   繁体   English

Visual Studio报表-在两行中显示一个表

[英]Visual Studio Report - Show a table in two rows

i have a question: is there any way to show a single row of a table in two rows? 我有一个问题:有没有办法在两行中显示表格的一行? The problem is that my table has too many fields and is too wide. 问题是我的表有太多字段并且太宽。 So, I think that maybe you can split each row in the table to make it in a row. 因此,我认为您可以将表中的每一行拆分成一行。 For example (my idea in Excel, just for example): 例如(例如,我在Excel中的想法):

Complete table 完整表

...and my idea ...还有我的想法

I hope for your help! 希望对您有所帮助!

You can: 您可以:

  1. add a Tablix with 4 columns and without header 添加具有4列且不包含标题的Tablix
  2. add a Rectangle in every detail cell 在每个细节单元格中添加一个Rectangle
  3. add 4 TextBox for every Rectangle : use 2 TextBox as labels and two TextBox as values 为每个Rectangle添加4个TextBox :使用2个TextBox作为标签和两个TextBox作为值
  4. increase Rectangle height in order to put spaces between every rows 增加Rectangle高度以在每行之间放置空格

在此处输入图片说明

Once you perform this operation for value 1 and 5, you can copy and paste Rectangle in the other 3 cells and simply change label and value. 对值1和5执行此操作后,可以将Rectangle复制并粘贴到其他3个单元格中,只需更改标签和值即可。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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