如何在C#中以编程方式创建ReportViewer

问题描述:



我的表单中有一个按钮.
单击时,应以编程方式生成ReportViewer,我必须将数据源绑定到报表查看器,并根据一些约束将报表显示给最终用户.

请帮我怎么做.

在此先感谢.

问候
Chaithanya M

Hi,

I have a button in my form .
When i click,Programatically ReportViewer should get generated,i have to bind a datasource to the report viewer and display a report to the enduser based on some constraints.

Please help me how to do this.

Thanks in Advance.

Regards
Chaithanya M

有一篇文章@ 动态绑定RDLC的ReportViewer [ ^ ]
There is an article @ Dynamic Binding Of RDLC To ReportViewer[^] just for you.


希望 ^ ]可能会为您提供帮助.
Hope this[^] might help you.


尝试此链接
在本地模式下使用ASP.NET 2.0 ReportViewer [
try this link
Using the ASP.NET 2.0 ReportViewer in Local Mode[^]