Response.ContentType="application/msword";
Response.AppendHeader("Content-Disposition","attachment;filename=test.txt");
Response.Write("asdf");
Response.End();
ContentType可以从Server 2003的IIS管理器属性中查看
Response.ContentType="application/msword";
Response.AppendHeader("Content-Disposition","attachment;filename=test.txt");
Response.Write("asdf");
Response.End();
ContentType可以从Server 2003的IIS管理器属性中查看