Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
CrystalReportViewer in ASP.NET 2.0
Message
De
30/08/2006 10:25:10
Mike Cole
Yellow Lab Technologies
Stanley, Iowa, États-Unis
 
 
À
Tous
Information générale
Forum:
ASP.NET
Catégorie:
Rapports
Titre:
CrystalReportViewer in ASP.NET 2.0
Versions des environnements
Environment:
ASP.NET
Divers
Thread ID:
01149760
Message ID:
01149760
Vues:
49
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/
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform