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)
。有人能解释一下原因吗?