NullReferenceException on report.Render()
Posted: Wed Mar 31, 2021 8:17 am
Hi.
I'm using Stimulsoft.Report, Version=2011.2.1100.0
As the code above,when it excute to the "report.Render();",the following exception was thrown:
Message=Object reference not set to an instance of an object.
Any idea what i am doing wrong?
I'm using Stimulsoft.Report, Version=2011.2.1100.0
Code: Select all
StiReport report = new StiReport();
report.LoadPackedReportFromString(flie);
report.RenderedPages.Clear();
report.RegData(table);
report.Render();
report.Print();
Message=Object reference not set to an instance of an object.
Any idea what i am doing wrong?