string strImg = Server.MapPath(dtTemp.Rows[a]["p_img"].ToString()); System.Drawing.Image img = System.Drawing.Image.FromFile(strImg); MemoryStream ms = new MemoryStream(); System.Runtime.Serialization.Formatters.Binary.BinaryFormatter bf = new System.Runtime.Serialization.Formatters.Binary.BinaryFormatter(); bf.Serialize(ms, img); drTemp[5] = ms.ToArray(); PublicHelper.DataToXSL.CreateXLS(dt, strSavePath);
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)