Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Creating a Crystal Report from a DataSet

Posted on 2006-06-20
2
Medium Priority
?
363 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 101

Accepted Solution

by:
mlmcc earned 1000 total points
ID: 16947941
0
 
LVL 101

Expert Comment

by:mlmcc
ID: 16955784
Glad i could help

mlmcc
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

There have always been a lot of questions related to when Crystal Reports evaluates report components (such as formulas, summaries, cross-tabs, charts, to name a few examples). Crystal Reports uses a two-pass reporting process to provide greater …
Hello everyone, Hope you find this as helpful as we did. We have on the company I work for an application built in Delphi V with Crystal Reports 8. We all know that Crystal & Delphi can be temperamental sometimes and the worst thing is, nearly…
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an anti-spam), the admin…
Are you ready to place your question in front of subject-matter experts for more timely responses? With the release of Priority Question, Premium Members, Team Accounts and Qualified Experts can now identify the emergent level of their issue, signal…

877 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