views:

322

answers:

2

I have a linq to sql generated object MyObject and this contains an EntitySet. Now i use an XtraReport with a BindingSource.DataSource = MyObject. I have a xrTable in the Detail band (which is the only one i use btw) with four xrTableCells binded binded to properties from MyObject.MyotherObject.Property. It keeps showing me only the first record and not all of them.

Anyone with an idea?

A: 

I believe you'll need to implement the ITypedList with your custom object to use it as a datasource. Check out this online documentation article for more info:

http://www.devexpress.com/Help/?document=XtraReports/CustomDocument4046.htm

Mehul
I use LINQ to SQL generated Objects. And as i can see this would cause me lots of problems, i should crate my own collection and change my generated objects, this would be bad.I didn't knew this would be such a noise for a Table.
A: 

Hi guys, I have the same problem, but i'm using a DataTable that i fill with a DataAdapter from a StoredProcedure, when I run the app it shows me only the first row, but i have seem that the DataTable has more rows. Any idea?

Thanks

piyey
Don't use xrTable, use xrLabel and build a string for this label.