?? form10.frm
字號(hào):
VERSION 5.00
Begin VB.Form Form9
Caption = "校極約束"
ClientHeight = 3090
ClientLeft = 60
ClientTop = 450
ClientWidth = 4680
LinkTopic = "Form9"
ScaleHeight = 3090
ScaleWidth = 4680
StartUpPosition = 3 '窗口缺省
Begin VB.CommandButton Command8
Caption = "啟用約束"
Height = 375
Left = 480
TabIndex = 6
Top = 2520
Width = 1575
End
Begin VB.TextBox Text3
Height = 375
Left = 2400
TabIndex = 2
Text = "5"
Top = 1680
Width = 1215
End
Begin VB.TextBox Text2
Height = 375
Left = 2400
TabIndex = 1
Text = "星期一"
Top = 960
Width = 1215
End
Begin VB.TextBox Text1
DataField = "事件"
DataSource = "Adodc1"
Height = 375
Left = 2400
TabIndex = 0
Text = "班會(huì)"
Top = 240
Width = 1215
End
Begin VB.Label Label3
Caption = "節(jié)數(shù)"
Height = 255
Left = 600
TabIndex = 5
Top = 1800
Width = 1215
End
Begin VB.Label Label2
Caption = "時(shí)間"
Height = 255
Left = 600
TabIndex = 4
Top = 1080
Width = 1215
End
Begin VB.Label Label1
Caption = "事件"
Height = 255
Left = 600
TabIndex = 3
Top = 360
Width = 1215
End
End
Attribute VB_Name = "Form9"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub Command8_Click()
sj = Text1.Text
times = Text2.Text
js = Text3.Text
Dim mycn As New ADODB.Connection
Dim myrs As New ADODB.Recordset
Set myrs = New ADODB.Recordset
mycn.Open "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=rsgl.mdb;"
myrs.Open "update tables2 set " + times + "='" + sj + "'where js=" + js + " ;", mycn, adOpenKeyset, adLockOptimistic
End Sub
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -