摘要:
图片转化为二进制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(); // 阅读全文
posted @ 2011-02-18 15:11
高兴happy
阅读(6763)
评论(0)
推荐(0)
浙公网安备 33010602011771号