Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
CrystalReportViewer in ASP.NET 2.0
Message
De
30/08/2006 11:28:33
Mike Cole
Yellow Lab Technologies
Stanley, Iowa, États-Unis
 
 
À
30/08/2006 11:14:27
Information générale
Forum:
ASP.NET
Catégorie:
Rapports
Versions des environnements
Environment:
ASP.NET
Divers
Thread ID:
01149760
Message ID:
01149808
Vues:
10
Kevin,
I made it work by using the following code:
Dim rptWarranty1 As New CrystalDecisions.CrystalReports.Engine.ReportDocument
rptWarranty1.Load(Server.MapPath("rptWarrantyRegistrationReport.rpt"))
rptWarranty1.SetDataSource(WarrantyDS1)
crvWarranty1.ReportSource = rptWarranty1
What I was originally trying to do is something like I would do in a windows form:
Dim rtpWarranty1 As New rptWarrantyRegistrationReport
And that was the code samples I have been finding, but when I tried doing that, Intellisense would not list rptWarrantyRegistrationReport.

(and I just noticed that I did one of my biggest pet peeves by using redundant naming. I always get worked up when I see somebody names a table something like tblCustomerTable, but I did the same thing with my report.)
Very fitting: http://xkcd.com/386/
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform