Response.Clear()
Response.Buffer = false
Response.ContentType = "application/octet-stream"
Response.AppendHeader("content-disposition", "attachmentfilename=" + filename+ ".txt")
Response.Write("1234|ABCDE\r\n")
// 读取数据库,循环
for(i=0i<100i++)
{
Response.Write("1234|ABCDE\r\n")
}
Response.Flush()
Response.End()
欢迎分享,转载请注明来源:夏雨云
评论列表(0条)