📄 例10-6.frm
字号:
VERSION 5.00
Object = "{67397AA1-7FB1-11D0-B148-00A0C922E820}#6.0#0"; "MSADODC.OCX"
Begin VB.Form Frmxj
Caption = "学籍信息"
ClientHeight = 2550
ClientLeft = 60
ClientTop = 390
ClientWidth = 4680
LinkTopic = "Form1"
ScaleHeight = 2550
ScaleWidth = 4680
StartUpPosition = 3 '窗口缺省
Begin MSAdodcLib.Adodc Adodc1
Height = 450
Left = 285
Top = 2040
Width = 3420
_ExtentX = 6033
_ExtentY = 794
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=F:\水利水电\教材用学生管理系统\Stud05.mdb;Persist Security Info=False"
OLEDBString = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=F:\水利水电\教材用学生管理系统\Stud05.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.ComboBox Combo1
DataField = "性别"
DataSource = "Adodc1"
Height = 300
Left = 1095
TabIndex = 9
Top = 816
Width = 2160
End
Begin VB.TextBox Text4
DataField = "班级"
DataSource = "Adodc1"
Height = 345
Left = 1095
TabIndex = 8
Top = 1590
Width = 2160
End
Begin VB.TextBox Text3
DataField = "出生日期"
DataSource = "Adodc1"
Height = 345
Left = 1095
TabIndex = 7
Top = 1179
Width = 2160
End
Begin VB.TextBox Text2
DataField = "姓名"
DataSource = "Adodc1"
Height = 345
Left = 1095
TabIndex = 6
Top = 408
Width = 2160
End
Begin VB.TextBox Text1
DataField = "学号"
DataSource = "Adodc1"
Height = 345
Left = 1095
TabIndex = 5
Top = 0
Width = 2160
End
Begin VB.Label Label5
AutoSize = -1 'True
Caption = "班级"
Height = 180
Left = 450
TabIndex = 4
Top = 1650
Width = 360
End
Begin VB.Label Label4
AutoSize = -1 'True
Caption = "出生日期"
Height = 180
Left = 90
TabIndex = 3
Top = 1263
Width = 720
End
Begin VB.Label Label3
AutoSize = -1 'True
Caption = "性别"
Height = 180
Left = 450
TabIndex = 2
Top = 877
Width = 360
End
Begin VB.Label Label2
AutoSize = -1 'True
Caption = "姓名"
Height = 180
Left = 450
TabIndex = 1
Top = 491
Width = 360
End
Begin VB.Label Label1
AutoSize = -1 'True
Caption = "学号"
Height = 180
Left = 450
TabIndex = 0
Top = 105
Width = 360
End
End
Attribute VB_Name = "Frmxj"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Option Explicit
Private Sub Adodc1_MoveComplete(ByVal adReason As ADODB.EventReasonEnum, ByVal pError As ADODB.Error, adStatus As ADODB.EventStatusEnum, ByVal pRecordset As ADODB.Recordset)
Adodc1.Caption = "学籍:" & Adodc1.Recordset.AbsolutePosition & "/" & Adodc1.Recordset.RecordCount
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -