Image in the database has two storage mode which based on the file system or the database system. This article uses file traversal method to achieve the image storage mode conversion from the database system to the file system in the ASP development environment, by using the two objects, ADODB.Stream and Scripting.FileSystemObject. It also realizes the rapid release of mass images, and achieves good results.%图像在数据库中的存储有文件系统方式和数据库系统方式两种模式,本文以ASP为平台,利用文件遍历,通过两个对象ADODB.Stream、Scripting.FileSystemObject实现了图像文件存储从数据库系统方式转换为文件系统方式,以及海量图片的快速发布,取得了较好的使用效果。
展开▼