Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
CrystalReportViewer in ASP.NET 2.0
Message
From
30/08/2006 11:28:33
Mike Cole
Yellow Lab Technologies
Stanley, Iowa, United States
 
 
General information
Forum:
ASP.NET
Category:
Reporting
Environment versions
Environment:
ASP.NET
Miscellaneous
Thread ID:
01149760
Message ID:
01149808
Views:
11
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/
Previous
Reply
Map
View

Click here to load this message in the networking platform