学生信息管理系统VB课程设计(13)

2021-02-21 19:26

Case 1 '学号

wherestr = wherestr + "StudentID='" & txtKey & "'" Case 2 '姓名

wherestr = wherestr + "StudentName='" & txtKey & "'" Case 3 '班级

wherestr = wherestr + "Class='" & txtKey & "'" Case 4 '备注

wherestr = wherestr + "Gender='" & txtKey & "'" Case 5 '关键字

wherestr = wherestr + "(studentid like '%" & txtKey & "%' or studentname like '%" & txtKey & "%' or class like '%" & txtKey & "%' )" End Select End If

'学号关键字

If frameStudentID.Visible And chkIDKey.Value = 1 And txtIDKey.Text <> "" Then If wherestr <> "" Then

If optnIDand.Value Then

wherestr = wherestr + " and " Else

wherestr = wherestr + " or " End If End If

wherestr = wherestr + "StudentID like '%" & txtIDKey & "%'" End If

'姓名关键字

If frameStudentName.Visible And chkNameKey.Value = 1 And txtNameKey.Text <> "" Then If wherestr <> "" Then

If optnNameand.Value Then

wherestr = wherestr + " and " Else

wherestr = wherestr + " or " End If End If

wherestr = wherestr + "StudentName like '%" & txtNameKey & "%'" End If

'班级关键字

If frameClass.Visible And chkClassKey.Value = 1 And txtClassKey.Text <> "" Then If wherestr <> "" Then

If optnClassand.Value Then


学生信息管理系统VB课程设计(13).doc 将本文的Word文档下载到电脑 下载失败或者文档不完整,请联系客服人员解决!

下一篇:呼吸系统2

相关阅读
本类排行
× 注册会员免费下载(下载后可以自由复制和排版)

马上注册会员

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