在VB.NET中做登陆界面老是出现这个错误

2025-12-06 16:06:01
推荐回答(1个)
回答1:

oledbconnection conn=new oledbconnection("连接字符串")
conn.open()
oledbcommand1.connection=conn;
oledb.comandtext= "SELECT 用户, 密码 FROM yonghu where 用户='" & Me.TextBox1.Text & "' and 密码='" & Me.TextBox2.Text & "'"