⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 stuin.frm

📁 用VB做的学生选课系统 .如果觉得好就顶起来哦
💻 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 stuin 
   Caption         =   "学生信息情况"
   ClientHeight    =   5115
   ClientLeft      =   60
   ClientTop       =   1545
   ClientWidth     =   10890
   LinkTopic       =   "Form2"
   MDIChild        =   -1  'True
   ScaleHeight     =   5115
   ScaleWidth      =   10890
   Begin MSDataGridLib.DataGrid DataGrid1 
      Bindings        =   "stuin.frx":0000
      Height          =   5085
      Left            =   2400
      TabIndex        =   18
      Top             =   30
      Width           =   8505
      _ExtentX        =   15002
      _ExtentY        =   8969
      _Version        =   393216
      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     =   8
      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
      BeginProperty Column06 
         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 Column07 
         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     =   2085.166
         EndProperty
         BeginProperty Column01 
            ColumnWidth     =   2085.166
         EndProperty
         BeginProperty Column02 
            ColumnWidth     =   2085.166
         EndProperty
         BeginProperty Column03 
            ColumnWidth     =   2085.166
         EndProperty
         BeginProperty Column04 
            ColumnWidth     =   555.024
         EndProperty
         BeginProperty Column05 
            ColumnWidth     =   2085.166
         EndProperty
         BeginProperty Column06 
            ColumnWidth     =   2085.166
         EndProperty
         BeginProperty Column07 
            ColumnWidth     =   2085.166
         EndProperty
      EndProperty
   End
   Begin VB.CommandButton Command3 
      Caption         =   "删除"
      Height          =   285
      Left            =   0
      TabIndex        =   17
      Top             =   3690
      Width           =   1185
   End
   Begin VB.CommandButton Command1 
      Caption         =   "修改"
      Height          =   255
      Left            =   0
      TabIndex        =   16
      Top             =   3240
      Width           =   1185
   End
   Begin MSAdodcLib.Adodc Adodc1 
      Height          =   330
      Left            =   0
      Top             =   2760
      Width           =   2385
      _ExtentX        =   4207
      _ExtentY        =   582
      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 Text8 
      DataField       =   "家庭住址"
      DataSource      =   "Adodc1"
      Height          =   270
      Left            =   780
      TabIndex        =   15
      Top             =   2430
      Width           =   1395
   End
   Begin VB.TextBox Text7 
      DataField       =   "入学时间"
      DataSource      =   "Adodc1"
      Height          =   270
      Left            =   780
      TabIndex        =   14
      Top             =   2094
      Width           =   1395
   End
   Begin VB.TextBox Text6 
      DataField       =   "出生年月"
      BeginProperty DataFormat 
         Type            =   1
         Format          =   "yyyy-M-d"
         HaveTrueFalseNull=   0
         FirstDayOfWeek  =   0
         FirstWeekOfYear =   0
         LCID            =   2052
         SubFormatType   =   3
      EndProperty
      DataSource      =   "Adodc1"
      Height          =   285
      Left            =   780
      TabIndex        =   13
      Top             =   1745
      Width           =   1395
   End
   Begin VB.TextBox Text5 
      DataField       =   "性别"
      DataSource      =   "Adodc1"
      Height          =   285
      Left            =   750
      TabIndex        =   12
      Top             =   1396
      Width           =   795
   End
   Begin VB.TextBox Text4 
      DataField       =   "班级"
      DataSource      =   "Adodc1"
      Height          =   285
      Left            =   780
      TabIndex        =   11
      Top             =   1047
      Width           =   1395
   End
   Begin VB.TextBox Text3 
      DataField       =   "系别"
      DataSource      =   "Adodc1"
      Height          =   285
      Left            =   780
      TabIndex        =   10
      Top             =   698
      Width           =   1395
   End
   Begin VB.TextBox Text2 
      DataField       =   "学生姓名"
      DataSource      =   "Adodc1"
      Height          =   270
      Left            =   780
      TabIndex        =   9
      Top             =   364
      Width           =   1395
   End
   Begin VB.TextBox Text1 
      DataField       =   "学号"
      DataSource      =   "Adodc1"
      Height          =   270
      Left            =   780
      TabIndex        =   8
      Top             =   30
      Width           =   1395
   End
   Begin VB.Label Label8 
      AutoSize        =   -1  'True
      Caption         =   "家庭住址"
      Height          =   180
      Left            =   30
      TabIndex        =   7
      Top             =   2490
      Width           =   720
   End
   Begin VB.Label Label7 
      AutoSize        =   -1  'True
      Caption         =   "入学时间"
      Height          =   180
      Left            =   30
      TabIndex        =   6
      Top             =   2142
      Width           =   720
   End
   Begin VB.Label Label6 
      AutoSize        =   -1  'True
      Caption         =   "出生年月"
      Height          =   180
      Left            =   0
      TabIndex        =   5
      Top             =   1795
      Width           =   720
   End
   Begin VB.Label Label5 
      AutoSize        =   -1  'True
      Caption         =   "性别"
      Height          =   180
      Left            =   360
      TabIndex        =   4
      Top             =   1448
      Width           =   360
   End
   Begin VB.Label Label4 
      AutoSize        =   -1  'True
      Caption         =   "班级"
      Height          =   180
      Left            =   360
      TabIndex        =   3
      Top             =   1101
      Width           =   360
   End
   Begin VB.Label Label3 
      AutoSize        =   -1  'True
      Caption         =   "系别"
      Height          =   180
      Left            =   360
      TabIndex        =   2
      Top             =   754
      Width           =   360
   End
   Begin VB.Label Label2 
      AutoSize        =   -1  'True
      Caption         =   "学生姓名"
      Height          =   180
      Left            =   0
      TabIndex        =   1
      Top             =   407
      Width           =   720
   End
   Begin VB.Label Label1 
      AutoSize        =   -1  'True
      Caption         =   "学号"
      Height          =   180
      Left            =   330
      TabIndex        =   0
      Top             =   60
      Width           =   360
   End
End
Attribute VB_Name = "stuin"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub Command1_Click()
Adodc1.Recordset.Update
End Sub

Private Sub Command3_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

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -