Delete user information/user id and password.
Delete user information/user id and password.
Rate Delete user information/user id and password.
(2(2 Vote))
dim item
dim userid
dim rss
dim Connection
dim Sql
for each item in Request.Form
if item="txtuid" then
userid=Request.Form(Item)
end if
next
set connection=Server.CreateObject("AdoDB.Connection")
Connection.Open "DSN=DSN;uid=userid;pwd=passward"
set rss=Server.CreateObject("AdoDB.RecordSet")
Sql = " Delete From Account where uid='" & userid & "'"
rss.Open Sql, connection, adOpenDynamic, adLockOptimistic
Connection.Close
set rss=nothing
set connection=nothing
Response.Redirect "login.asp"
%>
Delete user information/user id and password. Comments
No comments yet — be the first to post one!
Post a Comment