📄 adoquery.dfm
字号:
object Form1: TForm1
Left = 192
Top = 107
Width = 433
Height = 273
Caption = 'ADOQuery组件应用实例'
Color = clBtnFace
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -11
Font.Name = 'MS Sans Serif'
Font.Style = []
OldCreateOrder = False
PixelsPerInch = 96
TextHeight = 13
object DBGrid1: TDBGrid
Left = 0
Top = 8
Width = 409
Height = 201
DataSource = DataSource1
TabOrder = 0
TitleFont.Charset = DEFAULT_CHARSET
TitleFont.Color = clWindowText
TitleFont.Height = -11
TitleFont.Name = 'MS Sans Serif'
TitleFont.Style = []
end
object Button1: TButton
Left = 64
Top = 216
Width = 75
Height = 25
Caption = '运行'
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -16
Font.Name = 'MS Sans Serif'
Font.Style = [fsBold]
ParentFont = False
TabOrder = 1
OnClick = Button1Click
end
object Button2: TButton
Left = 248
Top = 216
Width = 75
Height = 25
Caption = '退出'
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -16
Font.Name = 'MS Sans Serif'
Font.Style = [fsBold]
ParentFont = False
TabOrder = 2
OnClick = Button2Click
end
object ADOConnection1: TADOConnection
ConnectionString =
'Provider=MSDASQL.1;Persist Security Info=False;Extended Properti' +
'es="DBQ=E:\database\library.mdb;DefaultDir=E:\database;Driver={M' +
'icrosoft Access Driver (*.mdb)};DriverId=281;FIL=MS Access;FILED' +
'SN=C:\Program Files\Common Files\ODBC\Data Sources\MS Access 97 ' +
'Database (not sharable).dsn;MaxBufferSize=2048;MaxScanRows=8;Pag' +
'eTimeout=5;SafeTransactions=0;Threads=3;UID=admin;UserCommitSync' +
'=Yes;"'
Provider = 'MSDASQL.1'
Left = 64
Top = 56
end
object ADOQuery1: TADOQuery
Connection = ADOConnection1
Parameters = <>
SQL.Strings = (
'select * from mainbook')
Left = 112
Top = 56
end
object DataSource1: TDataSource
DataSet = ADOQuery1
Left = 160
Top = 56
end
end
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -