xingming=trim(request("xingming"))xingbie=trim(request("xingbie"))chushengsj=trim(request("chushengsj"))sql="select * from mainjg where id is null"set rs=server.CreateObject("adodb.recordset")rs.open sql,conn,1,2rs.addnewrs("login123")=login123rs("pw
来源:学生作业帮助网 编辑:六六作业网 时间:2024/12/19 14:44:37
xingming=trim(request("xingming"))xingbie=trim(request("xingbie"))chushengsj=trim(request("chushengsj"))sql="select * from mainjg where id is null"set rs=server.CreateObject("adodb.recordset")rs.open sql,conn,1,2rs.addnewrs("login123")=login123rs("pw
xingming=trim(request("xingming"))
xingbie=trim(request("xingbie"))
chushengsj=trim(request("chushengsj"))
sql="select * from mainjg where id is null"
set rs=server.CreateObject("adodb.recordset")
rs.open sql,conn,1,2
rs.addnew
rs("login123")=login123
rs("pwd123")=MD5(pwd123)
xingming=trim(request("xingming"))xingbie=trim(request("xingbie"))chushengsj=trim(request("chushengsj"))sql="select * from mainjg where id is null"set rs=server.CreateObject("adodb.recordset")rs.open sql,conn,1,2rs.addnewrs("login123")=login123rs("pw
这是ASP的
上面是获取 POST来的信息
下面是执行 SQL 装入rs对象中 adodb.recordset指定了类型是数据集
最后三行是向数据集中 追加 一条记录