Rdlc报告错误发生在vb.net中

时间:2016-08-06 12:07:45

标签: vb.net rdlc reportviewer

  With ReportViewer1.LocalReport
     .DataSources.Clear()
     .ReportEmbeddedResource = "Report2.rdlc"
     .ReportPath = "D:\Project\Incentive\Incentive\Report2.rdlc"
     .DataSources.Add(New ReportDataSource("DataSet1", dt_tempinc))
     .SetParameters(New ReportParameter("param1", TextBox3.Text))
     .Refresh()
  End With

  With ReportViewer1
     .RefreshReport()
     .Refresh()
  End With

这个编码是我使用但在对象错误消息视图中发生错误。如何纠正这个问题。谢谢你的进步。

0 个答案:

没有答案