Private Sub Command1_Click() Adodc1.RecordSource = "select * from login where 用户名 ='" & Text1 & "' and 密码='" & Text2 & "'" Ad

2301_78323625 2301_78323625 墨衍会员 · AI 创作全网分发 墨衍智能分发 通过墨衍一键同步至各平台 可同步平台 CSDN微信公众号微博知乎掘金百家号博客园抖音小红书 你的文章也可以这样分发 墨衍会员 ¥399起/年,写一次发全网 我也要 + 加入社区
Private Sub Command1_Click() Adodc1.RecordSource = "select * from login where 用户名 ='" & Text1 & "' and 密码='" & Text2 & "'" Adodc1.Refresh If Adodc1.Recordset.RecordCount = 1 Then If Adodc1.Recordset.Fields(2) = "1" Then Form_main.Show Else Form_welcome.Show Else MsgBox "用户名或密码错误" End If End Sub 老显示Refresh的方法IAdodc错误 请问这上面哪里出错了
...全文
评论 1
收藏 已收藏
分享
返回顶部
2301_78323625
VB基础类 7,788 成员 197,583 内容