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

📄 form2.frm

📁 PB学生管理系统
💻 FRM
字号:
VERSION 5.00
Object = "{67397AA1-7FB1-11D0-B148-00A0C922E820}#6.0#0"; "MSADODC.OCX"
Begin VB.Form Form2 
   Caption         =   "用户信息"
   ClientHeight    =   5460
   ClientLeft      =   3765
   ClientTop       =   2760
   ClientWidth     =   8850
   LinkTopic       =   "Form2"
   ScaleHeight     =   5460
   ScaleWidth      =   8850
   Visible         =   0   'False
   Begin VB.CommandButton Command2 
      Caption         =   "密码修改"
      Height          =   615
      Left            =   6720
      TabIndex        =   24
      Top             =   2520
      Width           =   1455
   End
   Begin MSAdodcLib.Adodc Adodc1 
      Height          =   615
      Left            =   6840
      Top             =   3360
      Visible         =   0   'False
      Width           =   1335
      _ExtentX        =   2355
      _ExtentY        =   1085
      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=SQLOLEDB.1;Integrated Security=SSPI;Persist Security Info=False;Initial Catalog=学生管理"
      OLEDBString     =   "Provider=SQLOLEDB.1;Integrated Security=SSPI;Persist Security Info=False;Initial Catalog=学生管理"
      OLEDBFile       =   ""
      DataSourceName  =   ""
      OtherAttributes =   ""
      UserName        =   ""
      Password        =   ""
      RecordSource    =   "学生"
      Caption         =   "Adodc1"
      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.Frame Frame1 
      Caption         =   "学生基本信息"
      BeginProperty Font 
         Name            =   "宋体"
         Size            =   12
         Charset         =   134
         Weight          =   400
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      Height          =   4455
      Left            =   240
      TabIndex        =   12
      Top             =   240
      Width           =   6075
      Begin VB.TextBox Text8 
         DataField       =   "年龄"
         DataSource      =   "Adodc1"
         Height          =   375
         Left            =   960
         Locked          =   -1  'True
         TabIndex        =   22
         Top             =   2400
         Width           =   855
      End
      Begin VB.TextBox Text6 
         DataField       =   "生日"
         DataSource      =   "Adodc1"
         Height          =   375
         Left            =   960
         Locked          =   -1  'True
         TabIndex        =   3
         Top             =   3120
         Width           =   1575
      End
      Begin VB.ComboBox Combo3 
         DataField       =   "政治面貌"
         DataSource      =   "Adodc1"
         Height          =   300
         ItemData        =   "Form2.frx":0000
         Left            =   3600
         List            =   "Form2.frx":000D
         Locked          =   -1  'True
         TabIndex        =   6
         Top             =   1680
         Width           =   1335
      End
      Begin VB.TextBox Text1 
         DataField       =   "学号"
         DataSource      =   "Adodc1"
         Height          =   375
         Left            =   960
         Locked          =   -1  'True
         TabIndex        =   0
         Top             =   360
         Width           =   1455
      End
      Begin VB.TextBox Text2 
         DataField       =   "姓名"
         DataSource      =   "Adodc1"
         Height          =   375
         Left            =   960
         Locked          =   -1  'True
         TabIndex        =   1
         Top             =   1020
         Width           =   975
      End
      Begin VB.TextBox Text4 
         DataField       =   "籍贯"
         DataSource      =   "Adodc1"
         Height          =   375
         Left            =   960
         Locked          =   -1  'True
         TabIndex        =   8
         Top             =   3840
         Width           =   2715
      End
      Begin VB.TextBox Text5 
         DataField       =   "宿舍"
         DataSource      =   "Adodc1"
         Height          =   375
         Left            =   3540
         Locked          =   -1  'True
         TabIndex        =   7
         Top             =   2400
         Width           =   1575
      End
      Begin VB.TextBox Text3 
         DataField       =   "专业"
         DataSource      =   "Adodc1"
         Height          =   435
         Left            =   3600
         Locked          =   -1  'True
         TabIndex        =   5
         Top             =   960
         Width           =   1515
      End
      Begin VB.ComboBox Combo1 
         DataField       =   "性别"
         DataSource      =   "Adodc1"
         Height          =   300
         ItemData        =   "Form2.frx":0023
         Left            =   960
         List            =   "Form2.frx":002D
         Locked          =   -1  'True
         TabIndex        =   2
         Top             =   1680
         Width           =   855
      End
      Begin VB.TextBox Text7 
         DataField       =   "电话"
         BeginProperty DataFormat 
            Type            =   0
            Format          =   "0"
            HaveTrueFalseNull=   0
            FirstDayOfWeek  =   0
            FirstWeekOfYear =   0
            LCID            =   2052
            SubFormatType   =   0
         EndProperty
         DataSource      =   "Adodc1"
         Height          =   375
         Left            =   3600
         Locked          =   -1  'True
         TabIndex        =   4
         Top             =   360
         Width           =   1575
      End
      Begin VB.Label Label8 
         AutoSize        =   -1  'True
         Caption         =   "年龄"
         Height          =   180
         Left            =   360
         TabIndex        =   23
         Top             =   2520
         Width           =   360
      End
      Begin VB.Label Label1 
         AutoSize        =   -1  'True
         Caption         =   "学号"
         Height          =   180
         Left            =   300
         TabIndex        =   21
         Top             =   480
         Width           =   360
      End
      Begin VB.Label Label2 
         AutoSize        =   -1  'True
         Caption         =   "姓名"
         Height          =   180
         Left            =   300
         TabIndex        =   20
         Top             =   1080
         Width           =   360
      End
      Begin VB.Label Label3 
         AutoSize        =   -1  'True
         Caption         =   "性别"
         Height          =   180
         Left            =   300
         TabIndex        =   19
         Top             =   1800
         Width           =   360
      End
      Begin VB.Label Label4 
         AutoSize        =   -1  'True
         Caption         =   "出生年月"
         Height          =   180
         Left            =   120
         TabIndex        =   18
         Top             =   3240
         Width           =   720
      End
      Begin VB.Label Label5 
         AutoSize        =   -1  'True
         Caption         =   "宿舍"
         Height          =   180
         Left            =   2760
         TabIndex        =   17
         Top             =   2520
         Width           =   360
      End
      Begin VB.Label Label6 
         AutoSize        =   -1  'True
         Caption         =   "籍贯"
         Height          =   180
         Left            =   360
         TabIndex        =   16
         Top             =   3960
         Width           =   360
      End
      Begin VB.Label Label7 
         AutoSize        =   -1  'True
         Caption         =   "班级"
         Height          =   180
         Left            =   2820
         TabIndex        =   15
         Top             =   1020
         Width           =   360
      End
      Begin VB.Label Label9 
         AutoSize        =   -1  'True
         Caption         =   "政治面貌"
         Height          =   180
         Left            =   2640
         TabIndex        =   14
         Top             =   1800
         Width           =   720
      End
      Begin VB.Label Label10 
         Caption         =   "个人电话 "
         Height          =   255
         Left            =   2640
         TabIndex        =   13
         Top             =   480
         Width           =   735
      End
   End
   Begin VB.CommandButton Command3 
      Caption         =   "选课"
      Height          =   555
      Left            =   6720
      TabIndex        =   11
      Top             =   1560
      Width           =   1515
   End
   Begin VB.CommandButton Command1 
      Caption         =   "成绩表"
      Height          =   555
      Left            =   6720
      TabIndex        =   10
      Top             =   600
      Width           =   1515
   End
   Begin VB.CommandButton Command5 
      Caption         =   "退出"
      Height          =   555
      Left            =   6720
      TabIndex        =   9
      Top             =   4080
      Width           =   1515
   End
End
Attribute VB_Name = "Form2"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub Command1_Click()
    
    Form7.Show
    Unload Me
End Sub
Private Sub Command5_Click()
    
    Form1.Show
    Unload Me
End Sub
Private Sub Command3_Click()
    
    Form8.Show
    Unload Me
End Sub
Private Sub Form_Load()
    Adodc1.CommandType = adCmdText
    Adodc1.RecordSource = "select * from 学生 where  学号='" & Trim(Form1.Text1.Text) & "'"
    Adodc1.Refresh
End Sub
Private Sub Command2_Click()
    Form12.Show
    Me.Hide
End Sub

⌨️ 快捷键说明

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