Page 1 of 1
Problem with Databand in Report
Posted: Tue Dec 29, 2009 8:13 am
by unison
Hi there,
I'm having a problem displaying some columns in a databand. Only 2 of the 5 columns are displaying any data. I have verified that there is data in the datatable.
I have the attached the Report file.
Regards,
David
Problem with Databand in Report
Posted: Tue Dec 29, 2009 10:36 am
by Edward
Hi
Please check the following code in the report class constructor in the Code Tab:
DateTime startDate= DateTime.Parse(Dictionary.Variables["StartDate"].Value.ToString());
DateTime endDate = DateTime.Parse(Dictionary.Variables["EndDate"].Value.ToString());
There are no StartDate nor EndDate variables in the report Dictionary.
Thank you.
Problem with Databand in Report
Posted: Wed Dec 30, 2009 12:30 am
by unison
Hi Edward,
I am dynamically adding the StartDate and EndDate variables to the dictionary before I render the report (used on the cover page and is working correctly).
Regards,
David
Problem with Databand in Report
Posted: Wed Dec 30, 2009 6:48 am
by Edward
Hi
Please send a data for your report and a sample application which illustrates the problem to support[at]stimulsoft.com for analysis.
Thank you.
Problem with Databand in Report
Posted: Thu Dec 31, 2009 12:52 am
by unison
Hi Edward,
Nevermind I found the problem. I forgot to register the datatable with the report before rendering it. Thanks for the help though.
Regards,
David
Problem with Databand in Report
Posted: Thu Dec 31, 2009 3:52 am
by Edward
Hi David,
Let us know if you need any help.
Happy New Year!
Thank you.