2012年8月2日

摘要: 我最近刚开始研究WP7,在用SQLite存取图片时遇到个问题,希望高手们指点。图片转换成二进制存到SQLite时是byte[14361],读出来时却成了byte[13],数据库里图片存储格式是Blob。Why?这是我的代码://把图片转换成二进制存入sqlite private byte[] SetPicture() { BitmapImage bit = new BitmapImage(new Uri("image.jpg", UriKind.Relative)); Image image = new Image(); ... 阅读全文
posted @ 2012-08-02 18:25 意博 览群客 阅读(680) 评论(3) 推荐(0)

导航