In my Visual Basic 2010 project, I have a form named "frmViewReport" containing a CrystalDecisions CrystalreportViewer which I plan to use to display all my reports. In my report generating form I have DataGridView named "PersonnelDataGridView" which is being populated correctly. I have designed the report named "RptPersonnel.rpt" with headers and other details as required. But I am unable to link the DataGridView with the report as a result when I show the report only the header is getting displayed. How do I link the DataGridView with the CystalReport in code??
↧