帮我添加下ASP查找数据库和添加数据功能

来源:百度知道 编辑:UC知道 时间:2024/09/22 19:21:37
我现在在研究云网互动影视系统,可是发现他只可以一集一集的添加,不可以跳集添加,由于我是做动漫站的所以有些时候要从几十或者是从几百集开始添加。以下是他的下载页面代码和影视管理修改页面代码。
下载页的(要求就是在集数那根据影片ID读取数据库YWNT_TMS_DownUrl里的DownID)待修改代码如下:
<!--#include file="player.asp" -->

<!--#include file="base64.asp"-->
<style type="text/css">
<!--
body{font-size:14px;line-height:25px;}
a:link,
a:visited {font-size: 14px;color:#3e3e3e;text-decoration:none;}
a:hover {font-size:14px;color:#3e3e3e;text-decoration: underline;}
-->
</style>
<BODY>
<%
dim thunderUrl

Set RS=Server.CreateObject(YWNT_TMS_RS)
SQL="select DownUrl from YWNT_TMS_Sever Where ID="&SeverID
Rs.open sql,Conn,1,1
If Not RS.Eof Then
DownUrl=RS("DownUrl")
End If
RS.Close
Set RS = Nothing
Set RS=Server.CreateObject(YWNT_TMS_RS)
sql="select DownUrl from YWNT_TMS_DownUrl where MovieID="&ID&" o

建立access的数据库news,还有表news,表的字段(id,title),id唯一,输入数据保存,用下面代码可查询,可分页
--------------------下面保存为search.asp-----------------------
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>文件</title>
</head>
<body bgcolor="#ffffff">
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<script>
function btn_ck_bh_Click()
{
var cx = document.form1.cxsj.value;
form1.action ="search.asp?cx="+cx;
}
</script>
<table border="1" cellspacing="0" bgcolor="#F0F8FF" bordercolorlight="#4DA6FF" bordercolordark="#ECF5FF" width="88%" style="word-break:break-all">
<tr>
<td width="778" align="center" colspan="7">
<form method=&