摘要
Caché数据库提供了便捷、稳定、高效的C/S架构访问服务。介绍了三种VB语言访问Caché数据库的方式,即通过ODBC方式、COM方式、Web Service方式,并采用统一的Data Grid控件对返回的数据集进行了显示。结合Caché以多维数组存储数据的优势,对三种方式的访问效率进行了测试,并且根据每种方式的特点,分析了三种方式的优缺点,为Caché数据库C/S架构的开发提供了参考。
Database Caché provides a convenient, stable and efficient C/S architecture access service. This paper introduces three methods to access the Caché database with VB language, i.e. the COM method, ODBC method and Web Service method, and a uniform Data Grid widget is adopted to display the returned data set. With the advantage that Caché stores data in multidimensional arrays, the access efficiency is tested in three ways, and the advantages and disadvantages of three methods are analyzed according to the characteristics of each method respectively to provide a reference for the development of Caché database in C/S architecture.
作者
李成亮
姚伟
Li Chengliang Yao Wei(Equipment & Information Department, People's Hospital of YangZhong City, Zhenjiang, Jiangsu 212200, China)
出处
《计算机时代》
2017年第8期20-23,共4页
Computer Era