B
Bibin
Dear All
I'm having a problem while calling a report in the CrystalReportViewer. The
error message comming is "Invalid Report Source". The code I written is here
below.
conReport = New OleDb.OleDbConnection(sConnectionString)
conReport.Open()
daReport = New OleDb.OleDbDataAdapter("select * from R_City",conReport)
daReport.Fill(dsReport)
crDoc.Load(Application.StartupPath & "\\Reports\\City.rpt")
crDoc.SetDataSource(dsReport)
rptViewer.ReportSource = crDoc
rptViewer.refreshReport()
Anybody if know this...pls help....
Thanks and regards
Bibin.
I'm having a problem while calling a report in the CrystalReportViewer. The
error message comming is "Invalid Report Source". The code I written is here
below.
conReport = New OleDb.OleDbConnection(sConnectionString)
conReport.Open()
daReport = New OleDb.OleDbDataAdapter("select * from R_City",conReport)
daReport.Fill(dsReport)
crDoc.Load(Application.StartupPath & "\\Reports\\City.rpt")
crDoc.SetDataSource(dsReport)
rptViewer.ReportSource = crDoc
rptViewer.refreshReport()
Anybody if know this...pls help....
Thanks and regards
Bibin.