Empty databand

Stimulsoft Reports.NET discussion
Post Reply
onik111
Posts: 2
Joined: Tue Jul 28, 2015 12:04 pm

Empty databand

Post by onik111 »

Hi.
I programming report.

Code: Select all

StiReport report = new StiReport();
			report.Load(rep);
			report.Compile();

			report["idorder"] = IdOrder;
			report["PeopleFio"] = FIO;
			
			report.Render(true);

MemoryStream stream = new MemoryStream();
			report.ExportDocument(StiExportFormat.Pdf, stream);

return stream;
and i have empty databand and empty data... Why? How can I initialize the data?
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: Empty databand

Post by HighAley »

Hello.

Could you specify what type of Connection and Data Source you use?
Please, describe your issue more detailed.

Thank you.
onik111
Posts: 2
Joined: Tue Jul 28, 2015 12:04 pm

Re: Empty databand

Post by onik111 »

I have DefaultConnect = sql DB and DataBand = sql query.
I call report from disainer and it work good. But no generate from code.
Pleas, help.
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: Empty databand

Post by HighAley »

Hello.

You code is right.
We will be able to help you if we get the sample project.

Thank you.
Post Reply