110,533
社区成员
发帖
与我相关
我的任务
分享
Dim ReportView1 As New Microsoft.Reporting.WinForms.ReportViewer()
Dim di As New System.IO.DirectoryInfo(Application.StartupPath)
ReportView1.LocalReport.ReportEmbeddedResource = "dsis.frm_base_prod_price.rdlc" '指定要显示的rdlc报表
ReportView1.LocalReport.DataSources.Clear()
ReportView1.LocalReport.Refresh()
ReportView1.LocalReport.DataSources.Add(New Microsoft.Reporting.WinForms.ReportDataSource("dsisdbDataSet1_product_price", dt))
'Microsoft.Reporting.WebForms.ReportDataSource(string name, object dataSourceValue)