Discussion Locked

Accessing Crystal Report in ASP.NET

0 helpful
1 reply
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
How will I access the crystal report (already designed) in ASP.NET without using ReportDocument ?

1 reply

by balramrv

Drag and drop crystal report viewer to ur designer page and in the page load event set the following information:

CrystalReportViewer1.ReportSource = "Path Of the Report"
CrystalReportViewer1.LogOnInfo.Item
(0).ConnectionInfo.ServerName = "ServerName"
CrystalReportViewer1.LogOnInfo.Item
(0).ConnectionInfo.DataBaseName= "DataBaseName"
CrystalReportViewer1.LogOnInfo.Item
(0).ConnectionInfo.UerID = "UserID"
CrystalReportViewer1.LogOnInfo.Item
(0).ConnectionInfo.password = "password"
CrystalReportViewer1.DataBind()

This discussion is closed to new replies.