摘要
在VB编程中很多情况下会涉及到利用数据库对图像进行存取的问题,这对于初学者而言是个难点。总结了在VB编程基础上利用Access数据库直接存储图片,利用Access数据库存储图片路径、调用图片,以及将图片转换为二进制编码存入Access数据库三种较为简单的图片存储方法供初学者参考。三种方法各有利弊,若在VB编程中遇到此类问题,读者可以根据自己的需要选择合适的方法。
There are many circumstances involving picture storage by using database in VB programming, which is a difficulty for new learners. This paper summarizes such three simple methods for beginners as storing pictures by using Access database directly, saving picture storage path in Access and reading picture through the path and converting pictures into binary code and then saving them into Access. Every method has advantages and disadvantages. If such problems occur in VB programming, the suitable method should be selected as required.
出处
《计算机与网络》
2011年第17期56-58,共3页
Computer & Network