📄 form1.frm
字号:
VERSION 5.00
Object = "{67397AA1-7FB1-11D0-B148-00A0C922E820}#6.0#0"; "MSADODC.OCX"
Begin VB.Form Form1
Caption = "使用ODBC连接SQL Server数据源"
ClientHeight = 3015
ClientLeft = 60
ClientTop = 345
ClientWidth = 6090
LinkTopic = "Form1"
ScaleHeight = 3015
ScaleWidth = 6090
StartUpPosition = 1 '所有者中心
Begin MSAdodcLib.Adodc Adodc1
Height = 330
Left = 90
Top = 2595
Width = 4290
_ExtentX = 7567
_ExtentY = 582
ConnectMode = 0
CursorLocation = 3
IsolationLevel = -1
ConnectionTimeout= 15
CommandTimeout = 30
CursorType = 3
LockType = 3
CommandType = 1
CursorOptions = 0
CacheSize = 50
MaxRecords = 0
BOFAction = 0
EOFAction = 0
ConnectStringType= 1
Appearance = 1
BackColor = -2147483643
ForeColor = -2147483640
Orientation = 0
Enabled = -1
Connect = "Provider=MSDASQL.1;Persist Security Info=False;User ID=sa;Data Source=CYGL"
OLEDBString = "Provider=MSDASQL.1;Persist Security Info=False;User ID=sa;Data Source=CYGL"
OLEDBFile = ""
DataSourceName = ""
OtherAttributes = ""
UserName = ""
Password = ""
RecordSource = "select * from 基础信息表"
Caption = " 数据浏览"
BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
Name = "宋体"
Size = 9
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
_Version = 393216
End
Begin VB.TextBox Text1
DataField = "商品全称"
DataSource = "Adodc1"
Height = 285
Index = 5
Left = 1020
TabIndex = 9
Top = 2160
Width = 4950
End
Begin VB.TextBox Text1
DataField = "本级简称"
DataSource = "Adodc1"
Height = 285
Index = 4
Left = 1020
TabIndex = 8
Top = 1770
Width = 4950
End
Begin VB.TextBox Text1
DataField = "本级名称"
DataSource = "Adodc1"
Height = 285
Index = 3
Left = 1020
TabIndex = 7
Top = 1365
Width = 4950
End
Begin VB.CommandButton Cmdend
Caption = "退出"
Height = 345
Left = 4440
TabIndex = 6
Top = 2595
Width = 1545
End
Begin VB.TextBox Text1
DataField = "商品级别"
DataSource = "Adodc1"
Height = 285
Index = 0
Left = 1020
TabIndex = 2
Top = 195
Width = 4950
End
Begin VB.TextBox Text1
DataField = "本级编号"
DataSource = "Adodc1"
Height = 285
Index = 1
Left = 1020
TabIndex = 1
Top = 585
Width = 4950
End
Begin VB.TextBox Text1
DataField = "商品编号"
DataSource = "Adodc1"
Height = 285
Index = 2
Left = 1020
TabIndex = 0
Top = 990
Width = 4950
End
Begin VB.Label Label7
BackStyle = 0 'Transparent
Caption = "商品全称:"
Height = 270
Left = 75
TabIndex = 12
Top = 2205
Width = 945
End
Begin VB.Label Label6
BackStyle = 0 'Transparent
Caption = "本级简称:"
Height = 270
Left = 75
TabIndex = 11
Top = 1830
Width = 945
End
Begin VB.Label Label5
BackStyle = 0 'Transparent
Caption = "本级名称:"
Height = 270
Left = 75
TabIndex = 10
Top = 1425
Width = 945
End
Begin VB.Label Label1
BackStyle = 0 'Transparent
Caption = "商品级别:"
Height = 270
Left = 75
TabIndex = 5
Top = 240
Width = 975
End
Begin VB.Label Label2
BackStyle = 0 'Transparent
Caption = "本级编号:"
Height = 270
Left = 75
TabIndex = 4
Top = 645
Width = 960
End
Begin VB.Label Label3
BackStyle = 0 'Transparent
Caption = "商品编号:"
Height = 270
Left = 75
TabIndex = 3
Top = 1065
Width = 945
End
End
Attribute VB_Name = "Form1"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub Cmdend_Click()
End
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -