简体   繁体   English

C#在WinForm中正确设计RDLC报表

[英]C# Designing RDLC report properly in WinForm

在此处输入图片说明 Above this i have a screenshot of my currently working RDLC, Here I have two red arrows which specify my two questions. 在此上方,我有我当前正在使用的RDLC的屏幕截图,在这里,我有两个红色箭头,用于指定我的两个问题。 First, How can i change the Column Header color ? 首先,如何更改列标题颜色? and lastly How can i fit my row values inside this table. 最后,我如何将我的行值放入此表中。 I hope someone would be able to help me. 我希望有人能够帮助我。

PS: My dataset here is my Database in Sql Server PS:我的数据集是我在Sql Server中的数据库

How can I change the Column Header color? 如何更改列标题颜色?

Choose the first row of tablix and in Properties window or Report Formatting toolbar, change BackgroundColor . 选择tablix的第一行,然后在“ 属性”窗口或“报告格式”工具栏中,更改BackgroundColor

How can i fit my row values inside this table? 如何将我的行值放入此表中?

You cannot. 你不能。 You just can turn on/off the growing functionality by setting CanGrow to true or false. 您可以通过将CanGrow设置为true或false来打开/关闭不断增长的功能。 But the columns doesn't support auto-size width. 但是列不支持自动调整宽度。

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

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