Page 1 of 1

Render Report in code without DataSet

Posted: Fri Aug 27, 2010 4:39 am
by jesmiatka
Hi,

I'm using Stimulsoft to generate reports in my code. We create a DataSet based on our input XML and then pass it to the StiReport.RegData.
However we are facing an issue with DataSet now, which cannot be created based on our XML. More information about this issue is on http://social.msdn.microsoft.com/Forums ... 8f44a3bf14

This results in two question:
1. Is there another way to pass our XML data to the StiReport, for example with the XDocument, or is DataSet the only way?
2. Do you have any other resolutions for this problem ?

Yours sincerely,
Mike

Render Report in code without DataSet

Posted: Sat Aug 28, 2010 4:15 am
by Jan
Hello Mike,
1. Is there another way to pass our XML data to the StiReport, for example with the XDocument, or is DataSet the only way?
No, we support only DataSet mode.
2. Do you have any other resolutions for this problem ?
I think you can try to use your own business object based on your XML information. Which can be registered with help of RegBusinessObject method of StiReport.

Thank you.