请教高手,我是菜鸟。。
Set rsUsers = oConn.Execute( "SELECT * From register WHERE ID = ' " & login & " ' ")
象这样的语句,我要是想写2个条件满足,怎么写,这里只是ID满足,我想ID和PASSWD都在数据库中都满足怎么写?
------解决方案--------------------Set rsUsers = oConn.Execute( "SELECT * From register WHERE ID = ' " & login & " ' and pwd= '& passwd& ' ")
------解决方案--------------------up
------解决方案--------------------同意楼上的,使用and关键词,并上第二个条件,and 关键词前后要空格