作者投稿和查稿 主编审稿 专家审稿 编委审稿 远程编辑

›› 1999, Vol. 25 ›› Issue (10): 67-68.

• 论文 • 上一篇    下一篇

使用DAO访问Access数据表的Binary字段

荣冰,徐炜民   

  1. 上海大学计算机工程系 上海 200072,上海大学计算机工程系 上海 200072
  • 发布日期:1999-10-25

To Control the Binary Field of Access Database with DAO

Rong Bing, Xu Weimin   

  1. (Dept.of Computer,Shanghai University,Shanghai 200072)
  • Published:1999-10-25

摘要: Access数据库具有针对数据库集成性的最优文件结构,其数据表中的Binary字段是专为存放二进制数据而设的。在此详尽探讨了VC5.0中使用DAO类访问Access数据表中Binary字段的途径及其相关的COleVariant的应用方法。最后,针对实例设计了一个CMdbAccessExample类,实现了文中所述内客。

关键词: Access数据库, Binary字段, DAO类, COleVariant

Abstract: Access Database (mdb) processes the optimalizing file construction aimed at integration of Database. The Binary field of AccessData-Table is used for storing binary data. The article elaborately gives an account of the method of accessing the mdb database using DAOclass in VC5.0 and the relevant application of "Coil3Variant" class. At last, the article also lay out an "CmdbAccessExample" aimed at a givenexample

中图分类号: