Re: Coding for connection and data binding
In case somebody is wondering how is done the code is shown below:
Dim cr As New CrystalReport1
CrystalReportViewer1.ReportSource = cr
Place above code at the load event of the Crystal Report Viewer Form.
Note: The code for loading and extracting data from the database is not shown,
but a connection to the database must be made in order to load the data into the ds.table
other wise you will get an an error because ds.Table is not defined.