摘要
在使用VC、VB、Delphi等高级语言编写数据库应用程序时,往往需要用户自己在控制面板中配置ODBC数据源对于一般用户而言,配置ODBC数据源可能是一件比较困难的工作而且,在实际应用中,用户往往要求在同一个应用程序中访问不同的数据源,因此采用一般的加载方法就有了无法克服的缺陷为能在程序中完成这一工作,方便应用程序的使用,本文以VC为开发环境介绍两种在应用程序中动态加载ODBC系统数据源的方法.
It is often necessary for users to configure the ODBC data source in control panel while writing a program of database using high-level languages such as VC/C++, VB, Delphi Configuration of ODBC data source may be difficult for ordinary user Also in practical application, users are required to modify different data source in a same program, so there are unconquerable disadvantages in adopting common ways of access database So the dynamic leading ODBC data source in the efficient way In order to accomplish this task in the program, this article introduces two approaches of acquiring ODBC systematic data source based on VC/C++ development suppose
出处
《西北民族大学学报(自然科学版)》
2005年第2期47-53,共7页
Journal of Northwest Minzu University(Natural Science)
基金
国家民委院校重点科研项目([2002])127号.