Solved

Creating a Crystal Report from a DataSet

Posted on 2006-06-20
2
355 Views
Last Modified: 2009-07-29
Hi
I have a web project created in ASP.NET 2.0 with VS 2005 and Crystal Reports for Visual Studio 2005.

I have created a DataSet as describred in this excelent blog by Scott Guthrie:
http://weblogs.asp.net/scottgu/archive/2006/01/15/435498.aspx

I have also created a Crystal Report based on this DataSet.
So now I'm trying to populate the DataSet and setting it as a datasource for my report but I'm doing something wrong !!!
I have tried the following:
Dim rptWear As New ReportDocument
Dim dsWear As New DP_ItemWearTableAdapters.V_WEB_DP_ItemLastInspectTableAdapter

rptWear.Load(strDP_WearPrOrderReportPath)
rptWear.SetDataSource(dsWear.GetDataByOrderNo(strSelectedOrder, strCurrentCustomer))

But the last line is underlined blue and gives me an error:
Overload resolution failed because no accessible 'SetDataSource' is most spesific for these arguments:
..and then list two of the four possible arguments that SetDataSource can take: DataTable and IEnumerable

I have tried http://support.businessobjects.com/communityCS/TechnicalPapers/rtm_reportingoffadonetdatasets.pdf  but this document is rather thin .....


Can anyone help me ??

Peter


0
Comment
Question by:Contestoas
  • 2
2 Comments
 
LVL 100

Accepted Solution

by:
mlmcc earned 500 total points
ID: 16947941
0
 
LVL 100

Expert Comment

by:mlmcc
ID: 16955784
Glad i could help

mlmcc
0

Featured Post

What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

Join & Write a Comment

Crystal Reports: 5 Tests for Top Performance It is complete, your masterpiece report.  Not only does it meet your customer’s expectations, it blows them out the water, all they want is beautifully summarised and displayed in a myriad of ways. …
Hot fix for .Net Crystal Reports 10.2.3600.0 to fix problems with sub reports running on 64 bit operating systems ISSUE: Reports which contain subreports fail with error "Missing Parameter Value" DEPLOYMENT SERVER OS: Windows 2008 with 64 bi…
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…
Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…

760 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now