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

DevForce Business Objects as the Report's Datasource

1 Answer 129 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Linguinut
Top achievements
Rank 1
Linguinut asked on 15 Aug 2007, 04:17 PM
Is it possible to pass a DevForce business object to a Telerik report?  If so, how?  The syntax that I am trying to arrive at is something like this:

MyTelerikReport.Datasource = MyBindingSource.Datasource;

I am getting too simple here?
Ling

1 Answer, 1 is accepted

Sort by
0
Rossen Hristov
Telerik team
answered on 16 Aug 2007, 11:39 AM
Hello Linguinut,

In general, you can use any of the following data sources:

Any component that implements IEnumerable, including System.Array, IList, ICollection
Any component that implements IListSource, including DataTable and DataSet
Any component that implements ITypedList, including DataView and DataViewManager
Any component that implements IDbDataAdapter, including SqlDataAdapter and OleDbDataAdapter

If your DevForce data source implements one of the above mentioned interfaces, then you will be able to connect to it. Otherwise, you may need to transform your data source so that it implements one of those interfaces.

If the DataSource reference contains more than one table, you must set the DataMember property to a string that specifies the table to bind to.

After setting a report's data source, you can connect individual report items to the data source by using item binding expressions.
 

Kind regards,
Rossen
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
Tags
General Discussions
Asked by
Linguinut
Top achievements
Rank 1
Answers by
Rossen Hristov
Telerik team
Share this question
or