是否有任何解决方案在Windows应用程序的报表查看器的中心显示报表 [英] is there any solution for showing report in the center of my report viewer in Windows Application
本文介绍了是否有任何解决方案在Windows应用程序的报表查看器的中心显示报表的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
Hi All,
In my windows application where I have used RDLC report and ReportViewer to show my report, when i run my application report seems to be aligned to left side, i have not set any properties for the ReportViewer.
is there any solution for showing report in the center of my report viewer form?
Tanks In Advance
推荐答案
我把它自己卖掉我在这里粘贴soltion以供将来使用其他...
将数据源添加到LocalReport后粘贴此代码
I sold it my self I paste soltion here for Future use of Others...
After add the datasource to LocalReport then paste this code
reportViewer1.Padding = new Padding(intleft,inttop,intright,intbottom);
喜欢编码......
enjoy coding....
这篇关于是否有任何解决方案在Windows应用程序的报表查看器的中心显示报表的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文