set rs=conn.execute("select FileClass,FileName from UpFile where FileID="&Request.QueryString("id"))
%>
if request.querystring("action")="modify" then
if request.querystring("class")"" then action="search"
url="action="&action&"&keyword="&request.querystring("keyword")&"&class="&request.QueryString("class")&"&page="&request.QueryString("page")
conn.execute ("Update UpFile set FileClass='"&Request2.Form("FileClass")&"' where FileID='"&Request.QueryString("id")&"'")
if Request2.form("FileName")"" then
DelFile(rs("FileName"))
conn.execute ("Update UpFile set FileName='"&request2.form("FileName")&"' where FileID='"&Request.QueryString("id")&"'")
end if
response.write "alert('提交成功!');window.location.href='FileList.asp?"&url&"';"
end if
%>
== 修改文件 ==
文件类型:
图片
word
Excel
上传文件:
RsClose()
ConnClose()
%>