摘要: 核心代码:?DataSet ds = dBll.GetList("ID=" + ID);?string docName = "a.doc";//文件名,?byte[] file = (byte[])ds.Tables[0].Rows[0]["FContent"]; // "FContent"类型为imagestring Type = checktype(docName);Response.AddHeader("Content-Disposition", "attachment;file 阅读全文