General information
Title:
CrystalReportViewer
Environment versions
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
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only