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

📄 denglu.frm

📁 一个简单的学生信息管理系统
💻 FRM
字号:
VERSION 5.00
Begin VB.Form glydenglu 
   Caption         =   "管理员登陆"
   ClientHeight    =   3585
   ClientLeft      =   60
   ClientTop       =   390
   ClientWidth     =   4680
   LinkTopic       =   "Form1"
   ScaleHeight     =   3585
   ScaleWidth      =   4680
   StartUpPosition =   3  '窗口缺省
   Begin VB.CommandButton Command2 
      Caption         =   "退出"
      Height          =   375
      Left            =   2640
      TabIndex        =   5
      Top             =   2400
      Width           =   1095
   End
   Begin VB.CommandButton Command1 
      Caption         =   "登陆"
      Height          =   375
      Left            =   360
      TabIndex        =   4
      Top             =   2400
      Width           =   975
   End
   Begin VB.TextBox Text2 
      Height          =   375
      IMEMode         =   3  'DISABLE
      Left            =   2160
      PasswordChar    =   "*"
      TabIndex        =   3
      Top             =   1440
      Width           =   1695
   End
   Begin VB.TextBox Text1 
      Height          =   270
      Left            =   2280
      TabIndex        =   2
      Top             =   480
      Width           =   1455
   End
   Begin VB.Label Labmima 
      Caption         =   "密码"
      Height          =   375
      Left            =   360
      TabIndex        =   1
      Top             =   1440
      Width           =   1455
   End
   Begin VB.Label Labbianhao 
      Caption         =   "登陆编号"
      Height          =   375
      Left            =   360
      TabIndex        =   0
      Top             =   480
      Width           =   1455
   End
End
Attribute VB_Name = "glydenglu"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False

Private Sub Command1_Click()
Dim i As Integer
Dim findtag As Boolean
findtag = False
Call sjk_con
rstgly.MoveFirst
For i = 0 To rstgly.RecordCount - 1
If Text1.Text = rstgly!usename And Text2.Text = rstgly!Password Then
findtag = True
End If
rstgly.MoveNext
Next i
If findtag = True Then
MsgBox ("登陆成功")

Else
MsgBox ("用户名或密码错误,请重新输入!")
End If
rstgly.Close
gly.Close
 

End Sub

Private Sub Command2_Click()
Unload Me
xuanze.Show
End Sub

⌨️ 快捷键说明

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