?? stu_course.frm
字號:
VERSION 5.00
Object = "{67397AA1-7FB1-11D0-B148-00A0C922E820}#6.0#0"; "MSADODC.OCX"
Object = "{CDE57A40-8B86-11D0-B3C6-00A0C90AEA82}#1.0#0"; "MSDATGRD.OCX"
Begin VB.Form stu_course
Caption = "學生課程信息"
ClientHeight = 3120
ClientLeft = 1125
ClientTop = 1935
ClientWidth = 9195
LinkTopic = "Form2"
MDIChild = -1 'True
ScaleHeight = 3120
ScaleWidth = 9195
Begin VB.CommandButton Command2
Caption = "修改"
Height = 345
Left = 1440
TabIndex = 10
Top = 2040
Width = 1215
End
Begin VB.CommandButton Command1
Caption = "刪除"
Height = 345
Left = 120
TabIndex = 9
Top = 2040
Width = 1215
End
Begin MSDataGridLib.DataGrid DataGrid1
Bindings = "stu_course.frx":0000
Height = 2985
Left = 2910
TabIndex = 8
Top = -30
Width = 6105
_ExtentX = 10769
_ExtentY = 5265
_Version = 393216
AllowUpdate = -1 'True
HeadLines = 1
RowHeight = 15
FormatLocked = -1 'True
BeginProperty HeadFont {0BE35203-8F91-11CE-9DE3-00AA004BB851}
Name = "宋體"
Size = 9
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
Name = "宋體"
Size = 9
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ColumnCount = 6
BeginProperty Column00
DataField = "學號"
Caption = "學號"
BeginProperty DataFormat {6D835690-900B-11D0-9484-00A0C91110ED}
Type = 0
Format = ""
HaveTrueFalseNull= 0
FirstDayOfWeek = 0
FirstWeekOfYear = 0
LCID = 2052
SubFormatType = 0
EndProperty
EndProperty
BeginProperty Column01
DataField = "姓名"
Caption = "姓名"
BeginProperty DataFormat {6D835690-900B-11D0-9484-00A0C91110ED}
Type = 0
Format = ""
HaveTrueFalseNull= 0
FirstDayOfWeek = 0
FirstWeekOfYear = 0
LCID = 2052
SubFormatType = 0
EndProperty
EndProperty
BeginProperty Column02
DataField = "系別"
Caption = "系別"
BeginProperty DataFormat {6D835690-900B-11D0-9484-00A0C91110ED}
Type = 0
Format = ""
HaveTrueFalseNull= 0
FirstDayOfWeek = 0
FirstWeekOfYear = 0
LCID = 2052
SubFormatType = 0
EndProperty
EndProperty
BeginProperty Column03
DataField = "班級"
Caption = "班級"
BeginProperty DataFormat {6D835690-900B-11D0-9484-00A0C91110ED}
Type = 0
Format = ""
HaveTrueFalseNull= 0
FirstDayOfWeek = 0
FirstWeekOfYear = 0
LCID = 2052
SubFormatType = 0
EndProperty
EndProperty
BeginProperty Column04
DataField = "選修"
Caption = "選修"
BeginProperty DataFormat {6D835690-900B-11D0-9484-00A0C91110ED}
Type = 0
Format = ""
HaveTrueFalseNull= 0
FirstDayOfWeek = 0
FirstWeekOfYear = 0
LCID = 2052
SubFormatType = 0
EndProperty
EndProperty
BeginProperty Column05
DataField = "教室"
Caption = "教室"
BeginProperty DataFormat {6D835690-900B-11D0-9484-00A0C91110ED}
Type = 0
Format = ""
HaveTrueFalseNull= 0
FirstDayOfWeek = 0
FirstWeekOfYear = 0
LCID = 2052
SubFormatType = 0
EndProperty
EndProperty
SplitCount = 1
BeginProperty Split0
BeginProperty Column00
ColumnWidth = 1500.095
EndProperty
BeginProperty Column01
ColumnWidth = 1005.165
EndProperty
BeginProperty Column02
ColumnWidth = 794.835
EndProperty
BeginProperty Column03
ColumnWidth = 794.835
EndProperty
BeginProperty Column04
ColumnWidth = 1005.165
EndProperty
BeginProperty Column05
ColumnWidth = 7994.835
EndProperty
EndProperty
End
Begin MSAdodcLib.Adodc Adodc1
Height = 345
Left = 0
Top = 1410
Width = 2835
_ExtentX = 5001
_ExtentY = 609
ConnectMode = 0
CursorLocation = 3
IsolationLevel = -1
ConnectionTimeout= 15
CommandTimeout = 30
CursorType = 3
LockType = 3
CommandType = 2
CursorOptions = 0
CacheSize = 50
MaxRecords = 0
BOFAction = 0
EOFAction = 0
ConnectStringType= 1
Appearance = 1
BackColor = -2147483643
ForeColor = -2147483640
Orientation = 0
Enabled = -1
Connect = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:\其他盤文件\VB\大作業\新建文件夾\user.mdb;Persist Security Info=False"
OLEDBString = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:\其他盤文件\VB\大作業\新建文件夾\user.mdb;Persist Security Info=False"
OLEDBFile = ""
DataSourceName = ""
OtherAttributes = ""
UserName = ""
Password = ""
RecordSource = "學生選修課課程信息表"
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 Text4
DataField = "班級"
DataSource = "Adodc1"
Height = 270
Left = 420
TabIndex = 7
Top = 1050
Width = 1365
End
Begin VB.TextBox Text3
DataField = "系別"
DataSource = "Adodc1"
Height = 270
Left = 420
TabIndex = 6
Top = 700
Width = 1365
End
Begin VB.TextBox Text2
DataField = "姓名"
DataSource = "Adodc1"
Height = 270
Left = 420
TabIndex = 5
Top = 350
Width = 1365
End
Begin VB.TextBox Text1
DataField = "學號"
DataSource = "Adodc1"
Height = 270
Left = 420
TabIndex = 4
Top = 0
Width = 1365
End
Begin VB.Label Label4
AutoSize = -1 'True
Caption = "班級"
Height = 180
Left = 0
TabIndex = 3
Top = 1080
Width = 360
End
Begin VB.Label Label3
AutoSize = -1 'True
Caption = "系別"
Height = 180
Left = 0
TabIndex = 2
Top = 720
Width = 360
End
Begin VB.Label Label2
AutoSize = -1 'True
Caption = "姓名"
Height = 180
Left = 0
TabIndex = 1
Top = 360
Width = 360
End
Begin VB.Label Label1
AutoSize = -1 'True
Caption = "學號"
Height = 180
Left = 0
TabIndex = 0
Top = 120
Width = 360
End
End
Attribute VB_Name = "stu_course"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub Command1_Click()
Adodc1.Recordset.Delete
If Adodc1.Recordset.EOF = True Then
Adodc1.Recordset.MovePrevious
ElseIf Adodc1.Recordset.BOF = True Then
Adodc1.Recordset.MoveNext
End If
End Sub
Private Sub Command2_Click()
Adodc1.Recordset.Update
End Sub
Private Sub Form_Load()
Text1.Enabled = False
Text2.Enabled = False
Text3.Enabled = False
Text4.Enabled = False
End Sub
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -