Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
CrystalReportViewer in ASP.NET 2.0
Message
From
30/08/2006 10:25:10
Mike Cole
Yellow Lab Technologies
Stanley, Iowa, United States
 
 
To
All
General information
Forum:
ASP.NET
Category:
Reporting
Title:
CrystalReportViewer in ASP.NET 2.0
Environment versions
Environment:
ASP.NET
Miscellaneous
Thread ID:
01149760
Message ID:
01149760
Views:
48
I have done this many times in Windows Forms, but this is my first time in Web Forms and I am really struggling.

I created a Crystal Report, and added it to my solution. Built it and all that good stuff. Added a CrystalReportViewer to my form, and created a CrystalReportSource, which is set to my report.

Now what I want to do is set the datasource to my DataSet. In Windows Forms, you just use .SetDataSource. How do you do it in a web form?

From the research that I have done the last 2 days, it looks like people are just instantiating an instance of their report in code and proceeding like you do in Windows Forms, but I can't seem to declare an instance of my report in code. If I created this report within Visual Studio, shouldn't it be a Strongly-Typed report?

What do I need to do here, or what am I doing wrong?

Thanks,
Mike
Very fitting: http://xkcd.com/386/
Next
Reply
Map
View

Click here to load this message in the networking platform