public void ProcessRequest (HttpContext context) {
string elxStr = "
| 1 | 11 |
| 2 | 22 |
context.Response.Clear();
context.Response.Buffer = true;
context.Response.AppendHeader("Content-Disposition", "attachment;filename=" + DateTime.Now.ToString("yyyyMMdd") + ".xls");
context.Response.ContentEncoding = System.Text.Encoding.UTF8;
context.Response.ContentType = "application/vnd.ms-excel";
context.Response.Write(elxStr);
context.Response.End();
}
public bool IsReusable {
get {
return false;
}
}



