Dataset interoperability

P

paccala

Ciao!

I would like to return the content of a datatable in an interoperable way.
I cannot use typed datasets and return an XmlDataDocument, or
return a list of custom classes because my application is generic and I
know the number and type of attributes only run-time.

What is the best strategy to implement an interoperable webservice in
this case?
Creating an XmlDataDocument by hand examining the content of
the datatable? Implementing a ISerializable object who encapsulate the
dataset?
Notice that I would like to avoid the use of reflection.

Thanks in advance for any suggestion


mauro
 

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

Members online

No members online now.

Forum statistics

Threads
473,997
Messages
2,570,239
Members
46,827
Latest member
DMUK_Beginner

Latest Threads

Top