This is a migrated thread and some comments may be shown as answers.

report doesn't show any data

1 Answer 112 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Christel
Top achievements
Rank 1
Christel asked on 02 Mar 2009, 02:59 PM
I am using Visual Studio 2008 and Telerik Reporting Q3 2008 SP2.  We are using MySQL as the database backend.

I created a report and put it on a report viewer on a windows form.  I put this in the code behind of the form

 

private void reportViewer1_Load(object sender, EventArgs e)

 

{

LETGReportLibrary.

 

rptMasterAddress MyReport = new LETGReportLibrary.rptMasterAddress();

 

MyReport.AddressID = 8164;

reportViewer1.Report = MyReport;

reportViewer1.RefreshReport();

}

When I run the windows application, no data shows on the report.  I know when I run the query, 14 rows come back.  Why doesn't the data show in the windows application?

 

1 Answer, 1 is accepted

Sort by
0
Accepted
Steve
Telerik team
answered on 03 Mar 2009, 02:51 PM
Hello Christel,

We've not been able to reproduce the problem and the report shows properly using the reportViewer1_Load event. You can try the Form_Load event and if the issue still persist, most likely no data is coming in. For example if you have developer on one machine and moved this to live server, you should make sure that the connectionString for your database is correct. Try debugging where you bind the report to see where the culprit is.

Greetings,
Steve
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
Tags
General Discussions
Asked by
Christel
Top achievements
Rank 1
Answers by
Steve
Telerik team
Share this question
or