?? 讀取數(shù)據(jù).frm
字號:
VERSION 5.00
Begin VB.Form 讀取數(shù)據(jù)
Caption = "讀取數(shù)據(jù)"
ClientHeight = 3090
ClientLeft = 60
ClientTop = 450
ClientWidth = 4680
LinkTopic = "Form1"
ScaleHeight = 3090
ScaleWidth = 4680
StartUpPosition = 3 '窗口缺省
End
Attribute VB_Name = "讀取數(shù)據(jù)"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Dim cn As ADODB.Connection
Dim cmd As ADODB.Command
Private Sub Form_Load()
Set cn = New ADODB.Connection
Set cmd = New ADODB.Command
cn.ConnectionString = "DSN=student"
cn.Open
strsql = "SELECT FirstName INTO " & "[Emp Backup] FROM Customers;"
cn.Execute (strsql)
End Sub
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -