主题:[原创]为什么,数据库也连接成功,就是无法判断两个密码一样?
string ls_name
string ls_pass
ls_name=sle_1.text
select pass into :ls_pass from login where name=:ls_name
if trim(ls_pass)=trim(sle_2.text) then
messagebox('提示','通过')
else
messagebox('提示','错误')
end if
string ls_pass
ls_name=sle_1.text
select pass into :ls_pass from login where name=:ls_name
if trim(ls_pass)=trim(sle_2.text) then
messagebox('提示','通过')
else
messagebox('提示','错误')
end if