<!--#include file="xh_conn.asp"-->
<!--#include file="chksession.asp"-->
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link href="css.css" rel="stylesheet" type="text/css">
<%
set rs=server.CreateObject("adodb.recordset")
rs.open "SELECT * from jibenxinxi where dateadd(d,10,chutuday)>=getdate() and baojia=0",db,1,1
if rs.recordcount=0 then
response.write "近十天没有数据"
response.End()
end if
%>
<style type="text/css">
<!--
table {
font-size: 11pt;
text-decoration: none;
border: 1px solid #000000;
}
-->
</style>
<style type="text/css">
<!--
a {
font-size: 11pt;
color: #000000;
text-decoration: none;
}
-->
</style>
</head>
<body>
<table width="753" border="0" align="center" cellpadding="5" cellspacing="0">
<tr align="center" bgcolor="#006699">
<td colspan="10"><font color="#FFFFFF"><strong>近十天,已出圖,未報價項目</strong></font></td>
</tr>
<tr align="center">
<td width="73"><strong>联络号</strong></td>
<td width="146"><div align="center"><strong>型号</strong></div></td>
<td width="84" nowrap><strong>出圖日期</strong></td>
<td width="36" nowrap><strong>情況</strong></td>
<td width="64" nowrap><strong>營業者</strong></td>
<td width="71" nowrap><strong>客戶納期</strong></td>
</tr>
<%do while not rs.eof%>
<tr>
<td align="center" nowrap><div align="center"><a href="bao_jia_gong_jian.asp?lianluo=<%=rs("lianluo")%>"> <%=rs("lianluo")%> </a></div></td>
<td nowrap><div align="center"><%=rs("types")%></div></td>
<td nowrap><div align="center"><%=rs("chutuday")%></div></td>
<td nowrap><div align="center"><%=rs("qingkuang")%></div></td>
<td nowrap><div align="center"><%=rs("yingyezhe")%></div></td>
<td nowrap><div align="center"><%=rs("naqi")%></div></td>
<td width="51" align="center"><a href="bao_jia.asp?lianluo=<%=rs("lianluo")%>">報價</a></td>
<td width="75" align="center"><a href="del_bao_jia.asp?lianluo=<%=rs("lianluo")%>">刪除</a>
</tr>
<%
rs.movenext
loop
%>
</table>
<br>
</body>
</html>
因為輸出數據是多行,現在點刪除時會提交整個頁面的數據,所以我想在每一行增加一個ID,從一開始自動編號,這樣點刪除時就可以只提交該行的值。這個編號要如何做?謝謝
[此贴子已经被作者于2006-3-9 10:50:00编辑过]