Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
CrystalReportViewer
Message
De
05/06/2006 11:07:45
 
 
À
Tous
Information générale
Forum:
ASP.NET
Catégorie:
Rapports
Titre:
CrystalReportViewer
Versions des environnements
Environment:
ASP.NET
OS:
Windows 2000 SP4
Network:
Windows 2000 Server
Database:
MS SQL Server
Divers
Thread ID:
01127108
Message ID:
01127108
Vues:
53
Dear Expert,

I am very with ASP.NET + CR, I have some reports, they made by using CrystalReports, I have created a web form with a CrystalReportViewer inside..how to show a report into the viewer..

Dim cn As New OdbcConnection
cn.ConnectionString = mconn
cn.Open()
Try
Dim ds As New DataSet
Dim da As New OdbcDataAdapter(mReportDataSource, cn)
da.Fill(ds)

Dim crd As New ReportDocument
crd.Load(Server.MapPath("test.rpt"))
crd.SetDataSource(ds)

' The viewer is on the other web form .. how to show the report?

Catch ex As OdbcException
Catch ex As Exception
Finally
cn.Close()
End Try


Thanks & Regards
Winanjaya
Répondre
Fil
Voir

Click here to load this message in the networking platform