数据库组件及应用
数据库组件及应用
数据集组件-able 使用 TTable可以通过BDE访问数据库 中一张表中的数据。 Ttable提供对基础 数据库表中每一个记录和每一个域的 直接访问
使用TTable可以通过BDE访问数据库 中一张表中的数据。Ttable提供对基础 数据库表中每一个记录和每一个域的 直接访问 数据集组件 -TTable
数据集组件-able Object Inspector Table2. TTable Age>20 and dno=do1 Properties Events DatabaseName mydb Exclusive F alse Filte Filtered False +FilterOptions D IndexFieldName True IndexFiles TIndexFiles IndexName ddd MasterFields Dno Master Source Data Source1 Name Table2 Reado False SessionName TableName dents. DB
数据集组件 -TTable Age>20 and dno=`d01` True
数据集组件 TQuery TQuery查询组件 个查询组件封装了一个SQL语句,该语句在客户 应用程序中用于在一个或多个数据库表中检索、插 入、修改和删除数据。因此,该组件实际上是为你 使用SQ语句操纵数据库提供了一种手段
数据集组件 -TQuery TQuery 查询组件 一个查询组件封装了一个SQL语句,该语句在客户 应用程序中用于在一个或多个数据库表中检索、插 入、修改和删除数据。因此,该组件实际上是为你 使用SQL语句操纵数据库提供了一种手段
数据集组件 TQuery Object In D Fornd Query3. SOL 口区 I Unit4 Form4Query3SOL Query1: TQue Select x Properties Query l Database fron Close Page Ctrl+F4 DataSource whe Open File at Cursor Ctrl+Enter Filter St: New edit Window Filtere 3 lines: C\aalex Topic Search Browse Symbol at Cursor F1 Se 1 Modit add to Interface eLECt Para Object Inspector udents Query1 Param四P|tino=:dno Properties Events 0-dno DataType ftString ame dno Param Type ptUnknown +value do Cancel Help
数据集组件 -TQuery Query1 Select * from students where dno=:dno Select * from student where dno=:dno