Hi,
I'm trying to write a reporting app where reports can be added to the application on an ad hoc basis. So the application consists of an Exe that monitors a folder for report DLL's. My quandry is how to represent the data. I don't really want to include a presentation form in each DLL because they are all very similar. However, I don't think I can just send a dataset from the DLL to the exe because some of the reports are too complex. I also considered passing a form from the EXE to the DLL to be populated, but then the DLL is overly-dependent on the design of the external form remaining static.
Any ideas how this can be attained? I have the feeling there is some way to create a dataset-like object that isn't actually linked to a database (kind of like a collection or array of rows, but more memory-efficient).
Regards
Keith
[added]
Thank you both for your responses, I appreciate it. I could be wrong, but I thought sending back (possibly) thousands of rows of data within, say, an array of objects, might be a little heavy on the system - would that be right, or would it only take a similar amount of memory as a dataset?
The In-memory dataset sounds very similar to what I was thinking, but didn't really know how to implement, so thanks very much.
[/added]