Response.Clear();
            Response.Buffer = true;
            Response.AppendHeader("Content-Disposition", "attachment;filename=123.txt");
            Response.ContentType = "application/ms-txt";
            Response.Output.WriteLine("0213");
            Response.Output.WriteLine("1213");
            Response.End();

相关文章: