Page 1 of 1

Programmatically Build a report?

Posted: Tue Jun 24, 2008 6:48 am
by BAG
We are in the process of searching for an alternative to Business Objects' "Crystal Reports" for VS.NET 2008.
I have just begun to play around with the demo and it looks like stimulsoft will work for us. I have one question
that I hope I could get a quick answer to before I get too far.

Question:

It is possible to programmatically generate a report through just code and not a designer during runtime (BO seemed to go this
direction with CR2008)?

Example:

Our .net application is designed to run on multiple machines that can vary as far as functionality. We would like to be able to build
the report at runtime (through code) based on a set of parameters (type of machine). This would mean starting with a
semi-formated report where we could insert fields and change data sources.

Thanks, any insight would be greatly appreciated

Programmatically Build a report?

Posted: Tue Jun 24, 2008 7:15 am
by Brendan
Yes reports can be built programatically through code.

If you have downloaded the trial, check out the samples.
The one to check out would be the RuntimeBuildReport project.

This provides an example of building and executing a report programatically

Programmatically Build a report?

Posted: Tue Jun 24, 2008 7:24 am
by BAG
Thanks,

That helps a lot!