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

📄 docs_modi.asp

📁 === ==ASP销售管理系统
💻 ASP
字号:
<!--#include file="../config.asp"-->
<!--#include file="../inc/check_login.asp"-->
<!--#include file="../inc/functions.asp"-->
<%
Application_ID = 1002100	'本功能编号,含义请查看编码表
if not CheckAuth(Session("Employee_ID"),Application_ID)	then	'验证权限
	Server.Transfer "../err/un_authorized.htm"
	response.end
end if
%>
<!--**************身份验证部分****************-->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
	<title>Untitled</title>
	<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
	<LINK rel="stylesheet" type="text/css" href="../style.css">
	<script language="JavaScript" type="text/javascript" src="../js/functions.js"></script>
</head>
<body>
<%
Document_ID = request("Document_ID")
if not IsNot(Document_ID,"n") then
	response.write "文档编号丢失"
	response.end
end if
Set conn = Server.CreateObject("ADODB.Connection")
Set rs = Server.CreateObject("ADODB.Recordset")
conn.open connstr
sql = "select * from Documents where Document_ID = " & Document_ID
set rs = conn.execute(sql)
if not rs.eof then
	Document_Title = rs("Document_Title")
	Customer_Contact_Person_ID = rs("Customer_Contact_Person_ID")
	Document_Content = rs("Document_Content")
else
	response.write "没有该文档"
	response.end
end if
%>
<form action="docs_modi_exe.asp" method="post" name="frm">
<input type="hidden" name="Document_ID" value="<%=Document_ID%>">
修改客户文档
<hr size=1>
<table border=0>
<tr>
	<td bgcolor="#EFEFEF">文档名称</td>
	<td><input type="text" name="Document_Title" size="35" value="<%= Document_Title %>"></td>
	<td bgcolor="#EFEFEF">提供者</td>
	<td><input type="text" name="Contact_Person_Name" size="16" readonly onClick="return getCustomerContactPersonID(<%= Customer_ID %>);"><input type="hidden" name="Contact_Person_ID" size="5" readonly onClick="return getCustomerContactPersonID(<%= Customer_ID %>);" value="<%= Customer_Contact_Person_ID %>"></td>
</tr>
<tr>
	<td bgcolor="#EFEFEF">主要内容</td>
	<td colspan=3>
	<textarea cols="50" rows="3" name="Document_Content"><%= Document_Content %></textarea>
	</td>
</tr>
</table>
<input type="submit" name="Submit" value="确定修改">
</form>
</body>
</html>

⌨️ 快捷键说明

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