Public Class SalesReport
Private Sub SalesReport_Load(sender As Object, e As EventArgs) Handles MyBase.Load
'TODO: This line of code loads data into the 'loginDataSet.BillInfo' table. You can move, or remove it, as needed.
Me.BillInfoTableAdapter.Fill(Me.loginDataSet.BillInfo)
Me.ReportViewer1.RefreshReport()
End Sub
End Class
答案 0 :(得分:0)
我认为您错过了一些您未分配的代码和数据源到您的报告,请尝试将此行添加到您的代码中:
Me.ReportViewer1.DataSources.Add(Me.loginDataSet.BillInfo)