Private Sub Command1_Click() Adodc1.RecordSource = "select * from login where 用户名 ='" & Text1 & "' and 密码='" & Text2 & "'" Ad
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错误 请问这上面哪里出错了
...全文


VB基础类
