摘要:
图片转化为二进制picpath为图片地址using (FileStream fs = new FileStream(picpath, FileMode.Open, FileAccess.Read)) { using (BinaryReader read = new BinaryReader(fs)) { photobyte = read.ReadBytes((int)fs.Length); s1 = photobyte.Length; } }二进制转化为图片string sa = dsimg.Tables[0].Rows[0]["image"].ToString(); // 阅读全文