Show gridview data in crystal report
30 Oct 2011
I want to show grids data on crystal reports to make one good looking report.
could you give one sample please.
Thanks in Advance
Date: 30/Oct/2011 Rating:
you are binding gridview in dataset. that same dataset to pass crystal report
example: i.e (myreport dataset name)
CrystalReportViewer1.ReportSource = myreport;
Date: 02/Nov/2011 Rating:
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)
This thread is locked for new responses. Please post your comments and questions as a
If required, refer to the URL of this page in your
Start new thread
Devaraj T N
Last 7 Days
Awards & Gifts
Articles Rss Feeds
Forum Rss Feeds
Talk to Webmaster Tony John
Copyright © SpiderWorks Technologies Pvt Ltd., Kochi, India