标签:
private void exportBinaryToExcel(byte[] bytes, string filename) { Response.AddHeader("Content-Disposition", "attachment; filename=" + filename); Response.AddHeader("Content-Length", bytes.Length.ToString()); Response.ContentType = "application/octet-stream"; Response.BinaryWrite(bytes); Response.Flush(); }
asp.net webform download excel
标签:
原文地址:http://www.cnblogs.com/webglcn/p/4679969.html