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

<html>
<link rel="stylesheet" type="text/css" href="../css/style.css" />
<head>
<title>修改</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<script>
function CheckForm()
{
  

   if(document.form1.vname.value=="")
   { alert("内容不能为空！");
     return (false);
   }

  

   return (true);
}

</script>
</head>

<body class="bodycolor" topmargin="5">

<table border="0" width="100%" cellspacing="0" cellpadding="3" class="small">
  <tr>
    <td class="Big">&nbsp;</td>
  </tr>
</table>
<p>
  <%
strId=request("id")
 tname=request("tname")
Set rs=Server.CreateObject("Adodb.Recordset")
sql="select * from varset where     ID='"&strID& "'"
rs.open sql,conn,1,1
%>
</p>
<p>&nbsp;</p>
<form name="form1" method="post" action="Savemodify.asp?tname=<%=tname%>&id=<%=strid%>"  onSubmit="return CheckForm();">
 <table width="226" align="center" border="0" cellpadding="0"   cellspacing="0"  bordercolor="#6D8DD8">   
    
    
    <tr>
      <td height="38" class="STYLE1"><div align="center">顺序号</div></td>
      <td class="STYLE1"><label>

        <div align="left">
          <input name="vid" type="text" class="text"   id="vid" value=<%=rs("vid")%>>
          </div>
          </label></td></tr>
    <tr>
      <td width="50" height="48" class="STYLE1" ><div align="center">参数名</div></td>
      <td width="176" class="STYLE1"><div align="left"><span class="STYLE3"><b>
        <input name="vname" type="text" class="text" id="vname" value="<%=rs("vname")%>">
      </b></span></div></td>
    </tr>
    
    <tr>
      <td height="58" colspan="2" class="STYLE1"><div align="center"><span class="STYLE3"><b>
        <input name="submit" type="submit" class="topanniu"  value="保存">
      </b></span></div></td>
    </tr>
  </table>
</form>
<p>&nbsp;</p>
<p><br>
  
  
</p>
<div align="center"><span class="STYLE3"><b>
  <input name="button" type="button" class="topanniu" onClick="location='setvar.asp?tname=<%=tname%>'" value="返回上页">
  </b></span>
</div>
</body>
</html>