报告查看器和MS Access错误

时间:2014-02-26 08:32:39

标签: vb.net ms-access reportviewer

Public Class GenerateReport
     Private Sub GenerateReport_Load(sender As Object, e As EventArgs) Handles MyBase.Load
          'TODO: This line of code loads data into the 'CMPDataSet.Items' table. You can move, or remove it, as needed.
          Me.ItemsTableAdapter.Fill(Me.CMPDataSet.Items)
          Me.ReportViewer1.RefreshReport()
     End Sub
End Class

它在Not a valid file name中给出了一个错误Me.ItemsTableAdapter.Fill(Me.CMPDataSet.Items)。有人能解释一下原因吗?

0 个答案:

没有答案