Sharing a custom datasource between Winforms and Webforms

Posted by Earlz on Stack Overflow See other posts from Stack Overflow or by Earlz
Published on 2010-05-05T22:29:13Z Indexed on 2010/05/05 23:38 UTC
Read the original article Hit count: 372

Filed under:
|
|
|

Hello, I'd like to create a custom datasource that is shared between a Winforms and Webforms project. This functions as a middle layer for a reporting tool(DevExpress Reporting). The Webforms project is a designer for these reports. So we want for the reports to be capable of going to the server to get data and such. So our datasource would abstract away all the communication overhead. Then, for consistency, the datasource would also run on the server for reporting, except for their would be no communication.

What would be the best course of action? There doesn't seem to be such a thing as a DataSource in Winforms. Is DataSource not the thing I'm looking for?

Edit: After some research, it appears that IDataAdapter may be good for my purpose. Any opinion on that?

© Stack Overflow or respective owner

Related posts about ASP.NET

Related posts about winforms