Sign In| Join
Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post Apr 18, 2012 08:20 AM by yasir002
Member
118 Points
425 Posts
Apr 11, 2012 12:54 PM|LINK
Hi,
My dataset has data. but i cant see data in my report, why that
here is my code
callprevList ds = new callprevList(); ReportClass rptH = new ReportClass(); rptH.FileName = Server.MapPath("~\\Reports\\CallDetail.rpt"); rptH.Load(); rptH.SetDataSource(ds); Stream stream = rptH.ExportToStream(CrystalDecisions.Shared.ExportFormatType.PortableDocFormat); return File(stream, "application/pdf");
182 Points
51 Posts
Apr 11, 2012 01:23 PM|LINK
refer:
http://forums.asp.net/t/1662655.aspx/1
All-Star
18774 Points
3637 Posts
Verify that the fields in the report correspond to the data columns/fields in your data source.
68 Points
40 Posts
Apr 18, 2012 08:20 AM|LINK
try using dataTable Function to call the dataset and then attach each database field to it reply if you solved it out !!
gslakmal
Member
118 Points
425 Posts
Data is not comming to report
Apr 11, 2012 12:54 PM|LINK
Hi,
My dataset has data. but i cant see data in my report, why that
here is my code
callprevList ds = new callprevList(); ReportClass rptH = new ReportClass(); rptH.FileName = Server.MapPath("~\\Reports\\CallDetail.rpt"); rptH.Load(); rptH.SetDataSource(ds); Stream stream = rptH.ExportToStream(CrystalDecisions.Shared.ExportFormatType.PortableDocFormat); return File(stream, "application/pdf");thomas.watso...
Member
182 Points
51 Posts
Re: Data is not comming to report
Apr 11, 2012 01:23 PM|LINK
refer:
http://forums.asp.net/t/1662655.aspx/1
Careed
All-Star
18774 Points
3637 Posts
Re: Data is not comming to report
Apr 11, 2012 01:23 PM|LINK
Verify that the fields in the report correspond to the data columns/fields in your data source.
"The oxen are slow, but the earth is patient."
yasir002
Member
68 Points
40 Posts
Re: Data is not comming to report
Apr 18, 2012 08:20 AM|LINK
try using dataTable Function to call the dataset and then attach each database field to it
reply if you solved it out !!