views:

106

answers:

1

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?

A: 

Basically you would like to create middle-layer so that your Winforms and Webforms projects can exchange data/have some kind of interaction?

If I understood you correctly , then it seems to me as a job for some kind of web-service that both of those projects will be connected to

Michael