标签:style blog color os io 文件 for ar
$("#download").click(function () { var beginTime = $("#beginTime").val(); var endTime = $("#endTime").val(); window.open(‘../loadjsonM/StationProduct_JhJson.ashx?uptype=3&beginTime=‘ + beginTime + ‘&endTime=‘ + endTime); });
// 写入到客户端 System.IO.MemoryStream ms = new System.IO.MemoryStream(); book.Write(ms); context.Response.AddHeader("Content-Disposition", string.Format("attachment; filename={0}.xls", "工位产量")); context.Response.BinaryWrite(ms.ToArray()); ms.Close(); ms.Dispose();
标签:style blog color os io 文件 for ar
原文地址:http://www.cnblogs.com/zhongxinWang/p/3925327.html