学生信息管理系统

2026/1/27 7:18:35

txtSQL = \from prize_Stud where prize_No ='\& Trim(MSFlexGrid1.TextMatrix(MSFlexGrid1.Row, 1)) & \

Set mrc = ExecuteSQL(txtSQL, MsgText)

txtSQL = \ Set mrc = ExecuteSQL(txtSQL, MsgText) ShowData End If End If End Sub

Private Sub Label6_MouseMove(Index As Integer, Button As Integer, Shift As Integer, X As Single, Y As Single)

Label6(Index).BackColor = &HFFFFFF End Sub

Private Sub Label7_MouseMove(Index As Integer, Button As Integer, Shift As Integer, X As Single, Y As Single)

Label6(0).BackColor = &HC0C0C0 Label6(1).BackColor = &HC0C0C0 End Sub

Private Sub Text1_Change(Index As Integer) Dim txSQL As String If Index = 0 Then

txtSQL = \ Set mrc = ExecuteSQL(txtSQL, MsgText) If mrc.EOF = False Then

Text1(1) = mrc.Fields(1) Text1(1).Locked = True Else

Text1(1) = \

Text1(1).Locked = False End If End If End Sub

Private Sub ShowData() With MSFlexGrid1 .Rows = 1

Do While Not mrc.EOF .Rows = .Rows + 1

For i = 1 To mrc.Fields.Count

Select Case mrc.Fields(i - 1).Type Case adDBDate

TextMatrix(.Rows - 1, i) = Format(mrc.Fields(i - 1) & \

Case Else

TextMatrix(.Rows - 1, i) = mrc.Fields(i - 1) & \

End Select Next i

mrc.MoveNext Loop End With mrc.Close End Sub

Private Sub Text2_Change() Dim txtSQL As String

txtSQL = \ Set mrc = ExecuteSQL(txtSQL, MsgText) ShowData End Sub

8.8个人信息管理模块

Dim mrc As ADODB.Recordset Dim MsgText As String Dim txtSQL As String Private Sub Form_Load() With MSFlexGrid1 .Cols = 4

.ColWidth(0) = 0 .ColWidth(1) = 0 .ColWidth(2) = 1700 .ColWidth(3) = 1700

.TextMatrix(0, 2) = \奖惩日期\ .TextMatrix(0, 3) = \奖惩名称\ .Rows = 1 End With

With MSFlexGrid2 .Cols = 6

.ColWidth(0) = 0 .ColWidth(1) = 1550 .ColWidth(2) = 1550 .ColWidth(3) = 0 .ColWidth(4) = 1550 .ColWidth(5) = 1550

.TextMatrix(0, 1) = \考试期号\ .TextMatrix(0, 2) = \学生班号\ .TextMatrix(0, 4) = \考试课程\ .TextMatrix(0, 5) = \考试分数\ .Rows = 1 End With

Picture1.Visible = False MSFlexGrid1.Visible = False MSFlexGrid2.Visible = False End Sub

Private Sub Form_Resize() dColor.ZOrder 1 End Sub

Private Sub Text1_Change(Index As Integer) If Index = 0 Then

txtSQL = \* from student_Form where student_NO='\& Trim(Text1(0)) & \ Set mrc = ExecuteSQL(txtSQL, MsgText) If mrc.EOF = False Then For i = 1 To 6

Text1(i) = mrc.Fields(i) Next

Picture1.Visible = True Else

Picture1.Visible = False


学生信息管理系统.doc 将本文的Word文档下载到电脑
搜索更多关于: 学生信息管理系统 的文档
相关推荐
相关阅读
× 游客快捷下载通道(下载后可以自由复制和排版)

下载本文档需要支付 10

支付方式:

开通VIP包月会员 特价:29元/月

注:下载文档有可能“只有目录或者内容不全”等情况,请下载之前注意辨别,如果您已付费且无法下载或内容有问题,请联系我们协助你处理。
微信:xuecool-com QQ:370150219