Information générale
Titre:
CrystalReportViewer
Versions des environnements
Network:
Windows 2000 Server
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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement