code_junkie

Output Response in ANSI Characters format in ASP.net

Nov 13th, 2011
95
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.23 KB | None | 0 0
  1. Response.ContentType = "application/ms-excel";
  2. Response.ContentEncoding = System.Text.Encoding.Default;
  3. Response.OutputStream.Write(report, 0, report.Length);
  4. Response.Flush();
  5. Response.Close();
Add Comment
Please, Sign In to add comment