|
-
Jun 5th, 2006, 08:09 PM
#1
Thread Starter
Fanatic Member
CrystalReportViewer on ASP.NET
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
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|