小区水箱清洗:VB 登陆系统 类型不匹配 怎么办啊!!

来源:百度文库 编辑:高校问答 时间:2024/04/25 09:40:02
g_strsql = "select * from uname where 用户名= '" & text1.Text & "' and 密码= '" & text2.Text & "'"
Set g_rs = g_db.OpenRecordset(g_strsql)

If Not g_rs.EOF Then
text1.Text = g_rs!用户名
text2.Text = g_rs!密码
谢谢!!!
错误指向他S:et g_rs = g_db.OpenRecordset(g_strsql)

代码最好贴全点