<!--#include file="../../checkLogin.asp"-->
<!--#include file="../../SQLconn.asp"-->


<%   
    xuhao=request("xuhao")
    louhao=request("louhao")
    sushehao=request("sushehao")
	renshu=request("renshu")


set Rssave=server.createobject("adodb.recordset")
Rssavesql="select * from SuShe where (id is null)" 
Rssave.open Rssavesql,conn,1,3
    Rssave.addnew
	Rssave("序号")=xuhao
    Rssave("宿舍楼名称")=louhao
    Rssave("宿舍号")=sushehao
	Rssave("可住人数")=renshu
    Rssave.update


Rssave.close
response.redirect   "set.asp?louhao="&louhao
%>


