Problem in ConvertBusinessObjectToDataSet method

Stimulsoft Reports.NET discussion
Post Reply
fjsen
Posts: 7
Joined: Wed Mar 21, 2007 11:17 am
Location: Madrid

Problem in ConvertBusinessObjectToDataSet method

Post by fjsen »

Hello,

I'm trying to migrate from version 2008.2.300 to latest product version and I've found some strange behaviour.

I have a collection with 2 elements in the data array list and want to load a stireport object dictionary with RegData("name", mycollection).

With my current version it works fine and I obtain a dictionary with 2 items in the datastore.
But if I try to do the same with new versions (2009.3.600.0 and higher) I obtain a dictionary with only 1 item in the datastore rather than 2.

I've taken a look into the source code and it seems the method ConvertBusinessObjectToDataSet in StiBussinesObjectToDataSet.cs is returning a dataset with just the first datatable in mycollection, and it doesn't happen in my current version. Then RegData in StiDataCollection.cs does a "foreach datatable in dataset.tables" but there is only 1 table.

Any ideas if I'm doing something wrong? Has the method ConvertBusinessObjectToDataSet changed anyway in the referred versions?

Thanks in advance!

Andrew
Posts: 4109
Joined: Fri Jun 09, 2006 3:58 am

Problem in ConvertBusinessObjectToDataSet method

Post by Andrew »

Hello,

Most probably there in nothing serious with the issue. Could you, please a sample project to support@stimulsoft.com.

Thank you.
Post Reply