All we need to do is to assign the report to the ReportSource Property of the Crystal Report Viewer Control ( CrystalReportViewer.ReportSource = rpt). The object rpt is our Report.Ĭrystal Report Viewer control’s job is to display the report. Assigning the Dataset ds to Report using the method SetDataSource. Note the rptCustomerList is the name of the Crystal Report, which we had created in step 3. To do that Create an instance of Table Adapter CustomersTableAdapter and invoke the Fill Method to Fill the data.Ĭreate the rpt object, which is an instance of our rptCustomerList.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |