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


<%   
    vid=request("vid")
    varname=request("varname")
    vname=request("vname")
	vname1=request("vname1")
	vname2=request("vname2")



set Rssave=server.createobject("adodb.recordset")
Rssavesql="select * from varset where (id is null)" 
Rssave.open Rssavesql,conn,1,3
    Rssave.addnew
	Rssave("vid")=vid
    Rssave("name")=varname
    Rssave("vname")=vname
	
	Rssave("vname1")=vname1
	Rssave("vname2")=vname2
	 
    Rssave.update


Rssave.close
response.redirect   "setTime.asp?varname="&varname
%>


