|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
RS 2005: Use a Custom Class as DataSource?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 "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 > 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 >> > > 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 >>> >> >> > > 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 >>>> >>> >>> >> >> > >
DataGridView: Preventing deselection of a selected checkbox
Form Focus Issue Web activation i can't round Best way to do a connection-oriented Send/Receive. Syntax not accepted on my version of VS why ?. need ideas - caching strategy Using a delegate Datareader binding to datagrid not working what to use to play sound? |
|||||||||||||||||||||||