string pram="attachment;filename="+fileName;
HttpContext.Current.Response.AppendHeader("Content-Disposition",pram);
HttpContext.Current.Response.ContentType ="application/pdf"
string memo = "Hello,world.";//生成你要导出的内容.
HttpContext.Current.Response.Write(memo);
HttpContext.Current.Response.End();
HttpContext.Current.Response.AppendHeader("Content-Disposition",pram);
HttpContext.Current.Response.ContentType ="application/pdf"
string memo = "Hello,world.";//生成你要导出的内容.
HttpContext.Current.Response.Write(memo);
HttpContext.Current.Response.End();
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货