胡建红. 基于Delphi应用程序动态创建与访问数据库[J]. 南昌航空大学学报(自然科学版), 2006, 20(3): 69-73.
引用本文: 胡建红. 基于Delphi应用程序动态创建与访问数据库[J]. 南昌航空大学学报(自然科学版), 2006, 20(3): 69-73.
HU Jian-hong. Dynamic establishment and visit database of Delphi-based application procedure[J]. Journal of nanchang hangkong university(Natural science edition), 2006, 20(3): 69-73.
Citation: HU Jian-hong. Dynamic establishment and visit database of Delphi-based application procedure[J]. Journal of nanchang hangkong university(Natural science edition), 2006, 20(3): 69-73.

基于Delphi应用程序动态创建与访问数据库

Dynamic establishment and visit database of Delphi-based application procedure

  • 摘要: Delphi应用程序访问数据库,传统的方法就是首先在后台建立一个数据库,然后通过数据访问页上的部件去连接数据库,我们习惯称之为静态访问数据库.但是,当应用程序所连接的数据库表可能在不同的运行功能或时间上有所改变时,传统的方法是行不通的.针对这种情况,本文提出了一种方法--动态创建和连接数据库.也就是说,我们不必要先在后台建立好数据库,可以用代码直接生成我们想要的数据库表,并且可以随意访问数据库.

     

    Abstract: As for Delphi application program visit database,the traditional way is first to create a database in the background,and then through the components of data access page,to connect database,which is called static access database.However,when application program that collects the database may change in time or different functions,the traditional way is impracticable.In light of this condition,this article proposed a method——Dynamic access database.In other words,it is unnecessary to establish a database first in the background,we can generate the database that we need with direct code,and can visits the database at random.

     

/

返回文章
返回