Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/cmake/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Winforms 在windows窗体中使用reportviewer控件的参数化rdlc报告[本地rdlc报告]_Winforms_Reportviewer - Fatal编程技术网

Winforms 在windows窗体中使用reportviewer控件的参数化rdlc报告[本地rdlc报告]

Winforms 在windows窗体中使用reportviewer控件的参数化rdlc报告[本地rdlc报告],winforms,reportviewer,Winforms,Reportviewer,我想使用reportviewer控件生成本地参数化报告 有人能给出提示吗 我想得到以下输出 ------------------------------------------------------------------------------------------------------------------------- Bill No : 101 Name : abc Address : adsf Phone:9889898 <------ Master Tab

我想使用reportviewer控件生成本地参数化报告

有人能给出提示吗

我想得到以下输出

-------------------------------------------------------------------------------------------------------------------------
Bill No : 101  Name : abc  Address : adsf  Phone:9889898  <------    Master Table
-------------------------------------------------------------------------------------------------------------------------
Item No        Name        Price           Qty            Total <------     Detail Table 
-----------------------------------------------------------------------
1              abc         40              2              80
2              adsf        34              2              ??
-----------------------------------------------------------------
-------------------------------------------------------------------------------------------------------------------------

账单编号:101姓名:abc地址:adsf电话:9889898如果您使用的是SQL Server,请尝试使用存储过程并像往常一样向其提交参数,然后将本地报告绑定到返回的数据集。我不知道Winforms中有什么方法可以让Parm像webforms一样动态显示。在winforms中,我构建了自己的报告提交子系统来处理此问题

将数据集绑定到报表后,必须对reportviewer对象执行刷新