⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 modify_para.asp

📁 客户管理crm xitong ,希望能给你带来帮助
💻 ASP
字号:
<!--#include file="../function/connect.asp"-->
<!--#include file="../function/function.asp"-->
<%
	strTable=request("strTable")
	if strTable="" then
		response.write "参数错误"
		response.end
	end if
	if request("Submit")<>"" then
		Dict=request("Dict")
		DictValue=request("DictValue")
		User=request("User")
		UserValue=request("UserValue")
		Dicts=split(Dict,",")
		DictValues=split(DictValue,",")
		Users=split(User,",")
		UserValues=split(UserValue,",")
		for i=0 to ubound(Dicts)
			strsql="update System_Parameter set [Value]='" & trim(DictValues(i)) & "' where Parameter_Item='" & trim(Dicts(i)) & "'"
			'response.write strsql & "<br>"
			objConn.execute strsql
			strsql="update System_Parameter set [Value]='" & trim(UserValues(i)) & "' where Parameter_Item='" & trim(Users(i)) & "'"
			objConn.execute strsql
			'response.write strsql & "<br>"
		next
	end if
%>
<html>
<head>
<title></title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<LINK href="../cssD.css" rel=stylesheet>
</head>

<body>
<table width="100%" border="0" cellspacing="0" cellpadding="1" bordercolorlight='#000000' bordercolordark='#FFFFFF'>
  <form name="form1" method="post" action="modify_para.asp">
  <%for i=0 to 4%>
  <tr> 
    <td height="22" width="19%"> 
	<div align="right"> 
        <input type="hidden" name="Dict" value="<%="Dict" & cint(strTable)+i%>" class="input"><input type="text" name="Dict1" value="<%=getDicValue("Dict" & cint(strTable)+i)%>" class="input" readonly>
        </div>
    </td>
    <td height="22" width="1%"><img src="../images/arrow2.gif" width="10" height="10"></td>
    <td width="20%"> 
      <input type="text" name="DictValue" value="<%=getDicValue("Dict" & cint(strTable)+i)%>" class="inputrequest"></td>
    <td height="22" width="21%"> 
      <div align="right"><input type="hidden" name="User" value="<%="User" & cint(strTable)+i%>" class="input" readonly><input type="text" name="User1" value="<%=getDicValue("User" & cint(strTable)+i)%>" class="input" readonly></div></td>
    <td height="22" width="1%"><img src="../images/arrow2.gif" width="10" height="10"></td>
    <td width="38%"><input type="text" name="UserValue" value="<%=getDicValue("User" & cint(strTable)+i)%>" class="inputrequest"></td>
  </tr>
  <%next%>
  <tr>
	  
    <td height="22" colspan="6" align="center"> 
      <input type="hidden" name="strTable" value="<%=strTable%>">
      <input type="submit" name="Submit" value="  确定  " class="button">
      <input type="reset" name="Submit2" value="  重设  " class="button">
   </td>
  </tr>
  </form>
</table>
</body>
</html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -