摘要
在利用VC进行数据库编程时,常常需要存储较大的二进制数据对象,比如:图像、音频、视频文件或其它二进制数据,这些数据称之为二进制大对象BLOB(BinaryLargeObject),其存取的方式与普通数据有所区别,它是作为OLE字段在数据库中存储,通过数据集对象的成员变量自动变换得到的图像数据,得到的数据并不能直接显示,如何处理这种数据,一直是数据库编程中的一个难点,目前关于VC进行数据库编程的资料不少,但很少涉及此类数据的操作。文章针对这一现状,并结合自己开发的一个项目,解决了如何显示access数据库中的图像这一问题。
When we program some database code with VC,we often need to deal with some large binary data object, such as picture,audio,video files etc,These data are called BLOB(Binary Large Object),and they are different from common data in the way of load and store,They exist in the OLE field of database,and they transfer to picture data automatically through data member of data set objects,but the result can't show directly.How to deal with these data is a difficult point in database programming,There are many datum about VC database programming,but seldom involving these kind of data.So this paper solves this problem according to a project.
出处
《计算机工程与应用》
CSCD
北大核心
2005年第24期182-183,221,共3页
Computer Engineering and Applications