上一页 1 ··· 13 14 15 16 17
摘要: 图片转化为二进制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 阅读(6655) 评论(0) 推荐(0) 编辑
上一页 1 ··· 13 14 15 16 17