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

Binding a datatable to a report table

1 Answer 234 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
indian
Top achievements
Rank 1
indian asked on 27 Jul 2010, 07:36 AM
Hello,

I try to bind a datatable to a table on a report in the C# code.
I could find anything about this topic. Is this possible?

Just want to fill a datatable with two columns and 2 rows. That datatable should be shown on a report.

(or maybe)

When it's possible to bind a filtered Telerik.DataGrid on a report table that would be better.

Chris

1 Answer, 1 is accepted

Sort by
0
Peter
Telerik team
answered on 29 Jul 2010, 06:24 PM
Hi Chris,

You should create the layout of the Table item either manually or with the help of the Table Wizard. It would seem that you expect that the Table would be created automatically like the DataGrid AutoGenerateColumns, which is not the case, because the reporting product is not the same as a grid control. Please review our Reporting WhitePaper to understand what the purpose of a report is and what it is used for.

Our advise is to review the product documentation and specifically Designing Reports help section in order to understand how the product works, so that you can decide whether this is what you are looking for.

About your second question - no out of the box solution exists. However you can review the following thread for more information.

Sincerely yours,
Peter
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
General Discussions
Asked by
indian
Top achievements
Rank 1
Answers by
Peter
Telerik team
Share this question
or