Help me to see a small problem,

xiaoxiao2021-03-06  70

User login problem I use a loop error, <% string name = new string (Request.getParameter ("name"). GetBytes ("ISO-8859-1"); string password = new string (Request.GetParameter) Password "). GetBytes (" ISO-8859-1 ")); string condition =" SELECT NAME, Password from user where name = '" name "' and password = '" password " ""; rs = Stmt.executeQuery (Condition);

/ * rs.last (); int incount = rs.getrow (); rs.first ();

INT i = 0; While (i Return <%}} stmt.close (); conn .Close ();%>

转载请注明原文地址:https://www.9cbs.com/read-92710.html

New Post(0)