This is a migrated thread and some comments may be shown as answers.

Some problemes to bind datas to a report

1 Answer 49 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
PICKUP
Top achievements
Rank 2
PICKUP asked on 09 Aug 2012, 01:05 PM
Hi,

i would bind a report with datas. i have a DAL method returns a collection of A objects contains a B object list.
List of A object contains properties and a list of B object.

i would fill my report's textboxes  with A properties and a table with A list of B object.
the DAL method is called from a aspx page with a reportviewer and a reportbook.

my reportviewer is correctly displayed but with empty reports.

Filling the report with A object properties works. but filling the table of the report with A object's List<B> does'nt work.

i fill my cells with =Fields.property

in the aspx page, i bind my report with the object with : report.Datasource = A object;

How can i fill my table?
thanks

1 Answer, 1 is accepted

Sort by
0
PICKUP
Top achievements
Rank 2
answered on 10 Aug 2012, 07:56 AM
problem solved by the code.
Tags
General Discussions
Asked by
PICKUP
Top achievements
Rank 2
Answers by
PICKUP
Top achievements
Rank 2
Share this question
or