RegData can't use?

Stimulsoft Reports.NET discussion
Post Reply
zjh111111
Posts: 7
Joined: Tue Dec 08, 2009 5:38 am

RegData can't use?

Post by zjh111111 »

report.RegData("ZenCaiDataTable", ZengCaidt);
report.RegData("CaiJinOrFeiCaiJinGroup", JSDCaiJindt);
report.CacheAllData = true;
report.ReportCacheMode = StiReportCacheMode.On;
report.Render(false);
report.Print(false, printerSettings);
report.Dispose();
When I use these code,my report printed null,but when I delete "report.RegData("ZenCaiDataTable", ZengCaidt);",report can print correctly,Why?
Edward
Posts: 2913
Joined: Fri Jun 09, 2006 4:02 am

RegData can't use?

Post by Edward »

Hi

It is very difficult to answer on this question without seeing of your report. If possible, please send it to us for analysis to support[at]stimulsoft.com with a link on this topic.

Thank you.
Jan
Posts: 1265
Joined: Thu Feb 19, 2009 8:19 am

RegData can't use?

Post by Jan »

Hello,

Please use instead:

Code: Select all

> report.RegData("ZenCaiDataTable", ZengCaidt);
following code:

Code: Select all

> report.RegData("ZenCaiData", ZengCaidt);
instead:

Code: Select all

> report.RegData("CaiJinOrFeiCaiJinGroup", JSDCaiJindt);
following code:

Code: Select all

> report.RegData("CanHouJSDanData", JSDCaiJindt);
Thank you.

Post Reply