publicobjectcheckuser (字符串用户id,字符串密码) {
stringSQL='selectcount(1) fromt _ userinfo wheres _ userid=: userid ands _ user password (: password );
Oracle parameterp1=neworacle parameter ' : userid ',OracleType.VarChar,20;
Oracle parameterp2=neworacle parameter ' : password ',OracleType.VarChar,20;
p1.Value=userid;
p2.Value=password;
OracleParameter[] op={p1,p2};
returndbhelperora.get single (SQL,op );
}