|#639477 Author: raj Member Level: Bronze Member Rank: 0 Date: 30/Oct/2011 Rating: Points: 2|
you are binding gridview in dataset. that same dataset to pass crystal report
example: i.e (myreport dataset name)
CrystalReportViewer1.ReportSource = myreport;
|#640082 Author: Pawan Awasthi Member Level: Gold Member Rank: 3 Date: 02/Nov/2011 Rating: Points: 4|
To display the grid data to the crystal report,
first you need to add the CrystalReportViewer control and then you create the report as per your contents which you are going to display with its look and feel.
after that in the page load event of the .aspx page where your crystal report view control will be used to load the data, you need to get the dataset of the gridview and load that using the below commands:
CrystalReportViewer1.ReportSource = dsGridView;
Hope it will help.
Pawan Awasthi(DNS MVM)
+91 8123489140 (whatsApp), +60 14365 1476(Malaysia)