Home All Groups Group Topic Archive Search About

RS 2005: Use a Custom Class as DataSource?

Author
26 Jan 2006 8:43 AM
Pieter
Hi,

Is it possible to use a Custom Class/Object as a DataSource/DataSet for a
report?

I have now for instance my object MyCompany, and it woudl be nice to just
use a MyCompany-instance as the DataSource...

Any hints/help woudl be really appreciated,

Thanks a lot in advance,

Pieter

Author
26 Jan 2006 10:04 AM
Med Bouchenafa
I thought that the objectDatasource control was only used by ASP.NET
applications.
A SSRS report is not an ASP.NET application unless you use the new
reportViewer component and there you can use an ObjectDataSource

Med bouchenafa

"Pieter" <pietercou***@hotmail.com> a écrit dans le message de news:
%23w1cPSlIGHA.***@TK2MSFTNGP11.phx.gbl...
Show quoteHide quote
> Hi,
>
> Is it possible to use a Custom Class/Object as a DataSource/DataSet for a
> report?
>
> I have now for instance my object MyCompany, and it woudl be nice to just
> use a MyCompany-instance as the DataSource...
>
> Any hints/help woudl be really appreciated,
>
> Thanks a lot in advance,
>
> Pieter
>
Author
26 Jan 2006 11:44 AM
Ken Tucker [MVP]
Hi,

        You can bind windows applications to objects also.

Ken
--------------------
Show quoteHide quote
"Med Bouchenafa" <com.hotmail@bouchenafa> wrote in message
news:OhXZe$lIGHA.2896@TK2MSFTNGP09.phx.gbl...
>I thought that the objectDatasource control was only used by ASP.NET
>applications.
> A SSRS report is not an ASP.NET application unless you use the new
> reportViewer component and there you can use an ObjectDataSource
>
> Med bouchenafa
>
> "Pieter" <pietercou***@hotmail.com> a écrit dans le message de news:
> %23w1cPSlIGHA.***@TK2MSFTNGP11.phx.gbl...
>> Hi,
>>
>> Is it possible to use a Custom Class/Object as a DataSource/DataSet for a
>> report?
>>
>> I have now for instance my object MyCompany, and it woudl be nice to just
>> use a MyCompany-instance as the DataSource...
>>
>> Any hints/help woudl be really appreciated,
>>
>> Thanks a lot in advance,
>>
>> Pieter
>>
>
>
Author
26 Jan 2006 3:47 PM
Med Bouchenafa
That's right, my mistake
I should have said applications and not only ASP.NET applications
I meant a SSRS report is a standalone xml file
Thanks for correcting

Med bouchenafa

"Ken Tucker [MVP]" <vb***@bellsouth.net> a écrit dans le message de news:
OPOUq3mIGHA.1***@TK2MSFTNGP09.phx.gbl...
Show quoteHide quote
> Hi,
>
>        You can bind windows applications to objects also.
>
> Ken
> --------------------
> "Med Bouchenafa" <com.hotmail@bouchenafa> wrote in message
> news:OhXZe$lIGHA.2896@TK2MSFTNGP09.phx.gbl...
>>I thought that the objectDatasource control was only used by ASP.NET
>>applications.
>> A SSRS report is not an ASP.NET application unless you use the new
>> reportViewer component and there you can use an ObjectDataSource
>>
>> Med bouchenafa
>>
>> "Pieter" <pietercou***@hotmail.com> a écrit dans le message de news:
>> %23w1cPSlIGHA.***@TK2MSFTNGP11.phx.gbl...
>>> Hi,
>>>
>>> Is it possible to use a Custom Class/Object as a DataSource/DataSet for
>>> a report?
>>>
>>> I have now for instance my object MyCompany, and it woudl be nice to
>>> just use a MyCompany-instance as the DataSource...
>>>
>>> Any hints/help woudl be really appreciated,
>>>
>>> Thanks a lot in advance,
>>>
>>> Pieter
>>>
>>
>>
>
>
Author
27 Jan 2006 1:31 PM
Pieter
Ok thanks, but how do I have to do it? I can't find any information about
it?
How do I tell my report (when designing it) that it has to use property's of
a certain class? and how can I give an instance of that class as a parameter
before refreshing the reportviewer?



Show quoteHide quote
"Med Bouchenafa" <com.hotmail@bouchenafa> wrote in message
news:ubgLk$oIGHA.3492@TK2MSFTNGP09.phx.gbl...
> That's right, my mistake
> I should have said applications and not only ASP.NET applications
> I meant a SSRS report is a standalone xml file
> Thanks for correcting
>
> Med bouchenafa
>
> "Ken Tucker [MVP]" <vb***@bellsouth.net> a écrit dans le message de news:
> OPOUq3mIGHA.1***@TK2MSFTNGP09.phx.gbl...
>> Hi,
>>
>>        You can bind windows applications to objects also.
>>
>> Ken
>> --------------------
>> "Med Bouchenafa" <com.hotmail@bouchenafa> wrote in message
>> news:OhXZe$lIGHA.2896@TK2MSFTNGP09.phx.gbl...
>>>I thought that the objectDatasource control was only used by ASP.NET
>>>applications.
>>> A SSRS report is not an ASP.NET application unless you use the new
>>> reportViewer component and there you can use an ObjectDataSource
>>>
>>> Med bouchenafa
>>>
>>> "Pieter" <pietercou***@hotmail.com> a écrit dans le message de news:
>>> %23w1cPSlIGHA.***@TK2MSFTNGP11.phx.gbl...
>>>> Hi,
>>>>
>>>> Is it possible to use a Custom Class/Object as a DataSource/DataSet for
>>>> a report?
>>>>
>>>> I have now for instance my object MyCompany, and it woudl be nice to
>>>> just use a MyCompany-instance as the DataSource...
>>>>
>>>> Any hints/help woudl be really appreciated,
>>>>
>>>> Thanks a lot in advance,
>>>>
>>>> Pieter
>>>>
>>>
>>>
>>
>>
>
>