sql="select top 1 * from Product"
rs.open sql,conn,1,3
rs.addnew
call SaveData()
'rs("Editor")=Editor
rs.update
ArticleID=rs("ArticleID")
rs.close
set rs=nothing
你的添加的时候红字是要干什么?好像没用阿
<tr>
<td width="23%" height="22" bgcolor="#C0C0C0" class="tdbg"> <p align="right">产品序号:</p></td>
<td width="77%" bgcolor="#E3E3E3" class="tdbg"><%=ArticleID%></td>
</tr>
<tr>
<td height="22" bgcolor="#C0C0C0" class="tdbg"><div align="right">产品编号:</div></td>
<td bgcolor="#E3E3E3" class="tdbg"><%=Product_Id%></td>
</tr>
<tr>
<td height="22" bgcolor="#C0C0C0" class="tdbg"><div align="right">产品名称:</div></td>
<td bgcolor="#E3E3E3" class="tdbg"><%=Title%></td>
</tr>
<tr>
<td height="22" bgcolor="#C0C0C0" class="tdbg"><div align="right">所属类别:</div></td>
<td bgcolor="#E3E3E3" class="tdbg">
<%response.write BigClassName
if SmallClassName<>"" then response.write " >> " & SmallClassName
if SpecialName<>"" then response.write "<br>所属专题:" & SpecialName
%>
</td>
</tr>
<tr>
<td height="22" bgcolor="#C0C0C0" class="tdbg"><div align="right">关
键 字:</div></td>
<td bgcolor="#E3E3E3" class="tdbg"><%=Key%></td>
</tr>
<tr>
<td height="22" bgcolor="#C0C0C0" class="tdbg"><div align="right">产地:</div></td>
<td bgcolor="#E3E3E3" class="tdbg"><%=chandi%></td>
</tr>
<tr>
<td height="22" bgcolor="#C0C0C0" class="tdbg"><div align="right">单 位:</div></td>
<td bgcolor="#E3E3E3" class="tdbg"><%=danwei%></td>
</tr>
<tr>
<td height="22" bgcolor="#C0C0C0" class="tdbg"><div align="right">单价:</div></td>
<td bgcolor="#E3E3E3" class="tdbg"><%=danjia%></td>
</tr>
你这里全是产品信息,也没有备注字段阿?
你想要显示的不是这些字段吗?