Compressing a datatable

BobBarker_99
BobBarker_99 used Ask the Experts™
on
I have a datatable which I will be sending over a webservice.  Is it possible to zip or compress it somehow before I send it (it doenst need to be sent as a datatable as long as I can reconstruct it as a datatable on the other side).  

Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®

Commented:
Tell us what database it is, what os, etc ...

Author

Commented:
Sorry, its just a System.Data.DataTable.  I'm creating in memory, and then want to transfer it over a webservice.  
Commented:
According to msdn, you could store it as xml data, then use something to compress and send it.

Maybe the web server can also do gzip compression on the fly. Ask the webmaster.

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial