将动态数据表绑定到Microsoft Reporte Viewer [英] binding datatable dynamic to microsoft reporte viewer
本文介绍了将动态数据表绑定到Microsoft Reporte Viewer的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
HI:-D
我的代码中有一个数据表实例,其中存在数据.
我想将此数据表绑定到Microsoft报表查看器,但是我不能将其绑定. :((
请帮帮我.
非常感谢.:thumbsup:
HI :-D
i have an instance of data table in my code that exists data in it.
i want to bind this data table to Microsoft report viewer but I can’t bind that. :((
Please help me.
Thanks a lot.:thumbsup:
推荐答案
您可以使用 ReportViewer.LocalReport.DataSourcescollection
动态分配数据源. br/>
进一步参考:为ReportViewer报表创建数据源 [ ^ ]
You can dynamically assign a data source using the ReportViewer.LocalReport.DataSourcescollection
.
Further refer: Creating Data Sources for a ReportViewer Report[^]
这篇关于将动态数据表绑定到Microsoft Reporte Viewer的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文