.Net MVC 获取Response和Request对象
通过 System.Web.HttpContext.Current 获取
public static string ConstractExportExcel(List<ERP_Contract> list, string FilePath)
{
//获取Response
HttpResponse Response = System.Web.HttpContext.Current.Response;
}
posted on 2017-06-01 14:17 夜、微凉 阅读( …) 评论( …) 编辑 收藏
转载于:https://www.cnblogs.com/wwj1992/p/6928628.html