Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Response.AddHeader("Content-Disposition",
- "attachment; filename=yourfile.csv");
- Response.ContentType = "text/plain";
- Response.BufferOutput = false;
- Response.Write("field1,field2,field3rn");
- Response.End();
Add Comment
Please, Sign In to add comment