Presentation is loading. Please wait.

Presentation is loading. Please wait.

Delphi 7.0开发示例.

Similar presentations


Presentation on theme: "Delphi 7.0开发示例."— Presentation transcript:

1 Delphi 7.0开发示例

2 菜单 快速按钮 控件面板 设计窗体 代码(单元) 窗口 对象 浏览器

3 快速按钮栏 概念:Form (窗体) Unit(单元) Open Project Add to Project Remove from
New Ttem Open Save Save all View Unit View Form Toggle View/Form New Form Run Trace into Trace over 概念:Form (窗体) Unit(单元)

4 对象浏览器(Object Inspector)
属性 属性值 大多数属性值可以在design time修改 概念:design time和run time

5 控件面板(Component annel)
Component Group 数据库连接控件组:BDE 、ADO 、dbExpress 数据访问控件组:Data Access 数据控制控件组:Data Control

6 Delphi访问SQL Server步骤 1. 放置ADOConnection组件

7 设置connectionString

8

9 2.放置ADOTable

10 .Connection=ADOconnection1
.TableName=<your selected table>

11 3.放置Datasource

12 .Dataset=ADOTable1

13 4.放置DBGrid .Datasource=DataSource1 最后 激活ADOTable:ADOTable1.Active=True

14 可以用ADOQuery代替ADOTable

15 动态ADOQuery

16 动态ADOQuery

17 动态ADOQuery


Download ppt "Delphi 7.0开发示例."

Similar presentations


Ads by Google