Hello,
>
I need to stream data from a "DataTable" to the client's machine. The
data first need to be converted to .CSV , and ziped before streaming
it to the client.
Rendering to CSV is pretty staright-forward.
How important is it to zip it? Must the user download datafile.zip containing
data.csv ?
If it's "just" for performance of transferring a large amount of data, it
might be a
lot easier to apply http compression which all modern browsers support.
Just set the metabase attribute DoDynamicCompression for your GenerateCSV.aspx
page -
more details on msdn.
>
Does anyone has any experience with this? Any code snippet will be
very welcome.
Many thanks in advance
Cheers