谁来教教我啊
											我在数据库中建了一个stum 表有sno,sname,password
想搞一个登陆界面可老报“没有这个用户!”,到底什么问题啊,呜!!!
int li_cnt
string ls_password
int ls_cnt=0
//用户名 = 输入的用户名
if sle_sno.text='' then 
messagebox('提示','用户号不能为空!')
else
select count(*) into :li_cnt
from stum
where sno = sle_sno.text;
if li_cnt = 0 then 
messagebox('提示','没有这个用户!')
else 
select password into :ls_password
from stum 
where password=sle_password.text;
if sle_password.text <> ls_password then 
ls_cnt++;
if ls_cnt >3 then 
messagebox('提示','输入次数超过3次!')
halt close
end if
else
open(w_stu)
end if
end if
end if



											
	    

	
										
					
	
//这句该怎么改才对啊