RS 2005: Use a Custom Class as DataSource?

  • Thread starter Thread starter Pieter
  • Start date Start date
P

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
 
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
 
Hi,

You can bind windows applications to objects also.

Ken
--------------------
 
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
 
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?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top