I have a DataTable that i want to convert it to xml and then zip it, using DotNetZip. finally user can download it via Asp.Net webpage. My code in below
Add a ContentType header:
Response.ContentType = "application/zip";
this will allow the browsers to detect what you are sending.