How to pass multiple datasets as return value from Web Service

  • Thread starter Thread starter moondaddy
  • Start date Start date
M

moondaddy

I have a vb.net 1.1 winforms app and need to retrieve multiple datasets in a
single pass from a web service. I know I can hve multiple tables in a
dataset and these do, but in some cases I still need multiple datasets. is
there a way to serialize them into into one big string and then parse them
back out when the client app gets it?

Thanks.
 
You can write the XML from each into a big document for instance - but this
really doesn't sound like a good idea. For instance, you can create a
serializable collection that holds the XML for each dataset in one of it's
holders. Then you can return this collection --- however I think it's
probably not a great idea -
http://www.ferncrk.com/cs/blogs/stuart/archive/2004/11/24/5.aspx
 

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

Back
Top