ReportViewer - Programmatically generate report
问题 I am trying to use the built-in Report Viewer control to generate my custom reports. Crystal Reports is heavy and doesn't work on all client computers therefore I'm giving the microsoft report build a try. The goal of this report is to print a list of all programs. They aregotten from the database and stored in a list like so: Private Function ProgramDataset() As DataSet Dim ds As DataSet = New DataSet("Programs") Dim allPrograms As List(Of clsProgram) = clsProgram.GetAll() 'Build datatable