stand on the shoulders of giants
摘要: 分为两种情况 1. 图片以链接形式存储在数据库中,表中某个字段存储图片的路径 2. 图片存储在数据库中(BLOB) 在计算机中,BLOB是指二进制长对象。BLOB是一个大文件,典型的BLOB是一张图片或一个声音文件,由于它们的尺寸,必须使用特殊的方式来处理(例如:上传、下载或者存放到一个数据库) 第一种:图片以链接形式存储在数据库中 解决方式比较简单, 用GridView的ImageFi... 阅读全文
posted @ 2008-12-05 13:19 DylanWind 阅读(7061) 评论(0) 推荐(1) 编辑
摘要: 数据库表 Since the images are stored in a database (BLOB), we need to retrieve the image as a byte array and do a binary write for the images to display in the webpage. HTTPHandler Synchronous Htt... 阅读全文
posted @ 2008-12-05 11:18 DylanWind 阅读(2680) 评论(0) 推荐(0) 编辑