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

📄 新建 mecedit document.txt

📁 一个学生信息管理系统
💻 TXT
字号:
  Dim txtSQL As String
     Dim MsgText As String
            
    If Not Testtxt(Text4.Text) Then
           MsgBox "请输入学号!", vbOKOnly + vbExclamation, "警告!"
           Text4.SetFocus
           Exit Sub
    End If
    
    txtSQL = "select * from status where number=" & Trim(Text4.Text) & ""
    Set mrc = ExecuteSQL(txtSQL, MsgText)
    If mrc.EOF Then
       MsgBox "该同学一次请假旷课记录都没有!", vbOKOnly + vbExclamation, "温馨提示!"
       mrc.Close
       Exit Sub
    Else
       txtSQL = "select * from status where number=" & Trim(Text4.Text) & ""
       Set mrcc = ExecuteSQL(txtSQL, MsgText)
       If mrcc.EOF = False Then
          Grid1.TextMatrix(Grid1.Row, 1) = mrcc.fiels(0)
          Grid1.TextMatrix(Grid1.Row, 2) = mrcc.fiels(1)
          Grid1.TextMatrix(Grid1.Row, 3) = mrcc.fiels(2)
          Grid1.TextMatrix(Grid1.Row, 4) = mrcc.fiels(3)
          Grid1.TextMatrix(Grid1.Row, 5) = mrcc.fiels(5)
       End If
    End If

⌨️ 快捷键说明

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