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

📄 学院学生档案管理系统主界面.frm

📁 学生档案管理系统
💻 FRM
字号:
VERSION 5.00
Begin VB.Form 学院学生档案管理系统主界面 
   Caption         =   "学院学生档案管理系统------杨玉龙——车万里"
   ClientHeight    =   5565
   ClientLeft      =   60
   ClientTop       =   630
   ClientWidth     =   9150
   Icon            =   "Form2.frx":0000
   LinkTopic       =   "Form2"
   MaxButton       =   0   'False
   ScaleHeight     =   5565
   ScaleWidth      =   9150
   StartUpPosition =   2  '屏幕中心
   Begin VB.Frame Frame2 
      Caption         =   "个人成绩:"
      Height          =   4815
      Left            =   5400
      TabIndex        =   16
      Top             =   360
      Width           =   3615
      Begin VB.CommandButton Command1 
         Caption         =   "|<"
         Height          =   375
         Index           =   0
         Left            =   120
         TabIndex        =   20
         Top             =   4200
         Width           =   855
      End
      Begin VB.CommandButton Command1 
         Caption         =   "<<"
         Height          =   375
         Index           =   1
         Left            =   960
         TabIndex        =   19
         Top             =   4200
         Width           =   855
      End
      Begin VB.CommandButton Command1 
         Caption         =   ">>"
         Height          =   375
         Index           =   2
         Left            =   1800
         TabIndex        =   18
         Top             =   4200
         Width           =   855
      End
      Begin VB.CommandButton Command1 
         Caption         =   ">|"
         Height          =   375
         Index           =   3
         Left            =   2640
         TabIndex        =   17
         Top             =   4200
         Width           =   855
      End
      Begin VB.PictureBox DataGrid1 
         Height          =   3495
         Left            =   240
         ScaleHeight     =   3435
         ScaleWidth      =   3075
         TabIndex        =   21
         Top             =   480
         Width           =   3135
      End
   End
   Begin VB.Frame Frame1 
      Caption         =   "个人档案:"
      Height          =   4815
      Left            =   120
      TabIndex        =   0
      Top             =   360
      Width           =   5175
      Begin VB.TextBox Text1 
         DataField       =   "学号"
         DataSource      =   "Adodc1"
         Height          =   375
         Left            =   720
         TabIndex        =   7
         Text            =   "Text1"
         Top             =   480
         Width           =   1095
      End
      Begin VB.TextBox Text2 
         DataField       =   "姓名"
         DataSource      =   "Adodc1"
         Height          =   375
         Left            =   720
         TabIndex        =   6
         Text            =   "Text1"
         Top             =   1080
         Width           =   1095
      End
      Begin VB.TextBox Text3 
         DataField       =   "性别"
         DataSource      =   "Adodc1"
         Height          =   375
         Left            =   720
         TabIndex        =   5
         Text            =   "Text1"
         Top             =   1680
         Width           =   1095
      End
      Begin VB.TextBox Text4 
         DataField       =   "年龄"
         DataSource      =   "Adodc1"
         Height          =   375
         Left            =   720
         TabIndex        =   4
         Text            =   "Text1"
         Top             =   2280
         Width           =   1095
      End
      Begin VB.TextBox Text5 
         DataField       =   "QQ"
         DataSource      =   "Adodc1"
         Height          =   375
         Left            =   720
         TabIndex        =   3
         Text            =   "Text1"
         Top             =   3480
         Width           =   1095
      End
      Begin VB.TextBox Text6 
         DataField       =   "电话"
         DataSource      =   "Adodc1"
         Height          =   375
         Left            =   720
         TabIndex        =   2
         Text            =   "Text1"
         Top             =   2880
         Width           =   1095
      End
      Begin VB.TextBox Text7 
         DataField       =   "地址"
         DataSource      =   "Adodc1"
         Height          =   735
         Left            =   2040
         TabIndex        =   1
         Text            =   "Text1"
         Top             =   3360
         Width           =   3015
      End
      Begin VB.PictureBox Adodc1 
         BackColor       =   &H80000005&
         ForeColor       =   &H80000008&
         Height          =   375
         Left            =   480
         ScaleHeight     =   315
         ScaleWidth      =   4155
         TabIndex        =   22
         Top             =   4200
         Width           =   4215
      End
      Begin VB.Label Label1 
         Caption         =   "学号:"
         Height          =   255
         Index           =   0
         Left            =   120
         TabIndex        =   15
         Top             =   600
         Width           =   615
      End
      Begin VB.Label Label1 
         Caption         =   "姓名:"
         Height          =   255
         Index           =   1
         Left            =   120
         TabIndex        =   14
         Top             =   1200
         Width           =   615
      End
      Begin VB.Label Label1 
         Caption         =   "性别:"
         Height          =   255
         Index           =   2
         Left            =   120
         TabIndex        =   13
         Top             =   1800
         Width           =   615
      End
      Begin VB.Label Label1 
         Caption         =   "年龄:"
         Height          =   255
         Index           =   3
         Left            =   120
         TabIndex        =   12
         Top             =   2400
         Width           =   615
      End
      Begin VB.Label Label1 
         Caption         =   "QQ:"
         Height          =   255
         Index           =   4
         Left            =   120
         TabIndex        =   11
         Top             =   3600
         Width           =   615
      End
      Begin VB.Label Label1 
         Caption         =   "电话:"
         Height          =   255
         Index           =   5
         Left            =   120
         TabIndex        =   10
         Top             =   3000
         Width           =   615
      End
      Begin VB.Label Label1 
         Caption         =   "地址:"
         Height          =   255
         Index           =   6
         Left            =   2040
         TabIndex        =   9
         Top             =   3120
         Width           =   615
      End
      Begin VB.Label Label1 
         Caption         =   "照片:"
         Height          =   255
         Index           =   8
         Left            =   2040
         TabIndex        =   8
         Top             =   360
         Width           =   615
      End
   End
   Begin VB.PictureBox Adodc2 
      BackColor       =   &H80000005&
      Enabled         =   0   'False
      ForeColor       =   &H80000008&
      Height          =   375
      Left            =   5880
      ScaleHeight     =   315
      ScaleWidth      =   2595
      TabIndex        =   23
      Top             =   480
      Width           =   2655
   End
   Begin VB.Menu chaxun 
      Caption         =   "成绩查询 (&c)"
   End
   Begin VB.Menu dangan 
      Caption         =   "档案查询(&d)"
   End
   Begin VB.Menu xiugai 
      Caption         =   "信息修改(&x)"
   End
   Begin VB.Menu xiugai1 
      Caption         =   "成绩修改(&g)"
   End
   Begin VB.Menu close 
      Caption         =   "退出(&t)"
   End
   Begin VB.Menu bz 
      Caption         =   "帮助(&b)"
   End
End
Attribute VB_Name = "学院学生档案管理系统主界面"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub bz_Click()
Form7.Show
End Sub

Private Sub chaxun_Click()
Form5.Show 1
End Sub

Private Sub close_Click()
End
End Sub

Private Sub Command1_Click(Index As Integer)
If Index = 0 Then
   Adodc2.Recordset.MoveFirst
End If
If Index = 1 Then
   If Adodc2.Recordset.BOF Then
   Adodc2.Recordset.MoveLast
   Else
   Adodc2.Recordset.MovePrevious
   End If
End If
If Index = 2 Then
   If Adodc2.Recordset.EOF Then
   Adodc2.Recordset.MoveFirst
   Else
   Adodc2.Recordset.MoveNext
   End If
End If
If Index = 3 Then
   Adodc2.Recordset.MoveLast
End If
End Sub


Private Sub dangan_Click()
Form3.Show
End Sub

Private Sub Form_Load()
Dim i As Integer
Dim str As String


Adodc1.ConnectionString = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" + App.Path + "\data.MDe;Persist Security Info=False"
Adodc1.CommandType = adCmdText
SQL = "select * from data order by 学号"
Adodc1.RecordSource = SQL
Adodc1.Refresh

str = "select 学号,学期,科目,成绩 from chengji where 学号 =  " & Val(Text1.Text) & " order by 学期"
'MsgBox str
Adodc2.ConnectionString = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" + App.Path + "\data.MDe;Persist Security Info=False"
Adodc2.CommandType = adCmdText
SQL = str
Adodc2.RecordSource = SQL
tablename = "orders"
Adodc2.Refresh
Set DataGrid1.DataSource = Adodc2
DataGrid1.Refresh
End Sub




Private Sub Frame1_DragDrop(Source As Control, X As Single, Y As Single)

End Sub

Private Sub Text1_Change()
Dim i As Integer
Dim str As String


str = "select 学号,学期,科目,成绩 from chengji where 学号 =  " & Val(Text1.Text) & " order by 学期"
'MsgBox str
SQL = str
Adodc2.ConnectionString = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" + App.Path + "\data.MDe;Persist Security Info=False"
Adodc2.CommandType = adCmdText
Adodc2.RecordSource = SQL
tablename = "orders"
Adodc2.Refresh
Set DataGrid1.DataSource = Adodc2
DataGrid1.Refresh
End Sub

Private Sub xiugai_Click()
Form1.Show 1
End Sub

Private Sub xiugai1_Click()
Form6.Show 1
End Sub

⌨️ 快捷键说明

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