RDLC使用问题总结

参考例子:

https://blog.csdn.net/xiaochenXIHUA/article/details/122281087
经过学习总结和问题如下:
 1. 该例子用到的引用除了Windows.Form之外,还有Microsoft.SqlServer.Types和Microsoft.ReportingServices.ReportViewerControl.Winforms。请在NuGet管理解决方案中下载安装;


 2. 对个人来讲几点新技术:

  •    RDLC模板编辑;
  •    RDLC与DataTable绑定;
  •    ReportViewer页面设置;

   
 3. 碰到的几个问题:

  • RDLC中文乱码问题
  •                              <TextRuns>
                                    <TextRun>
                                      <Value>中文</Value>
                                      <Style>
                                        <FontWeight>Bold</FontWeight>
                                      </Style>
                                    </TextRun>
                                  </TextRuns>

    ReportView PrinterViewer纵向设置

  • In the Report Properties dialog if you set Page width to 8.27in and Page height to 11.69in then the Page Setup dialog of ReportViewer defaults to A4.

    In the Report Properties dialog if you set Page width to 11.69in and Page height to 8.27in then the Page Setup dialog of ReportViewer defaults to A4, and Orientation defaults to Landscape.

评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值