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

data source

2 Answers 190 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
bigbang
Top achievements
Rank 1
bigbang asked on 09 Jul 2007, 01:51 PM
Hi,

I am begginner with Telerik Reporting,(and with .Net too) and I try to bind my report, not to a database , but to a class that I have created (the structure of the database is not specified , and the only method to access it is a specific API) , so I added my class(dll), to the references and to the data sources , but my class doen't appear in the telerik data explorer...??? is it because it's not possible to bind a telerik report to other thing except a database ,if no how can I do it .
Thanks in advance

2 Answers, 1 is accepted

Sort by
0
Svetoslav
Telerik team
answered on 11 Jul 2007, 08:39 AM
Hi bigbang,

In order to use the Data Explorer tool window in design time you need to have the Report.DataSource property set to a valid (from the Visual Studio designer environment point of view) object. This means that you have to instantiate your datasource object and assign the instance to the Report.DataSource and this should appear in InitializeComponent() method as this is the only method  that does matter in design time.

The best way to achieve this is to use the Data Source wizard that allows you to connect to a database or a business object that is exactly your case.


Greetings,
Svetoslav
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
bigbang
Top achievements
Rank 1
answered on 11 Jul 2007, 01:06 PM
Hi Svetoslav,

thanks a lot , it works. 

Fawzi
Tags
General Discussions
Asked by
bigbang
Top achievements
Rank 1
Answers by
Svetoslav
Telerik team
bigbang
Top achievements
Rank 1
Share this question
or