NEWBIE - Crystal Report not Refreshing

D

Dave

Greetings,

I have an aspx page with a CrystalReportViewer on it that displays
information fine. The problem is that the report is static. I want it to
change when data in the database is changed. I can change values in the
database (either inside of or outside of my web application) and the report
data remains the same as it was before the change.

I assume that somewhere I need to tell the report to look at the database
and refresh the values in my report. Where and how do I accomplish this?

Thank you kindly,
-Dave
 
Z

zoom14151

I read your question and I'm having the same problem, can you tell m
what you did the resolve the problem
 
Joined
Jul 6, 2009
Messages
1
Reaction score
0
Try this on Page Load Event

CrystalReportSource1.Report.FileName = "C:\Reportpath\Report.rpt"
CrystalReportViewer1.ReportSourceID = CrystalReportSource1.ID
CrystalReportViewer1.DataBind()
CrystalReportViewer1.RefreshReport()
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,579
Members
45,053
Latest member
BrodieSola

Latest Threads

Top