asp求救!神啊!帮帮我吧!

来源:百度知道 编辑:UC知道 时间:2024/06/22 23:40:45
我的ID是自动编号的,应该是数字吧,表news中的字段为:id(自动编号),title(文本)帮我看看哪错了,
wq2.asp:
<%
set conn=server.createobject("adodb.connection")
conn.open "driver={microsoft access driver (*.mdb)};dbq="&server.mappath("ast.mdb")
%>
<%
exec="select * from news"
set rs=server.createobject("adodb.recordset")
rs.open exec,conn,1,1
%>

<body>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<%do while not rs.eof%><tr>
<td><a href="wq5.asp?id=<%=rs("id")%>" > <%=rs("title")%></a></a></td>

</tr><%
rs.movenext
loop
%>

</table>

wq5.asp:
<%response.write(id)%>
就是 想 显示id的值,但是一直显示不了
不过点击后在URL中显示这样的东西:asp求救!神啊!帮帮我吧! 求救,帮帮我吧 ????asp大虾帮帮我吧 ?????? asp问题,帮帮我吧! 求救求救.!帮帮我.! 求救高手,帮帮我吧! 求救,进来帮帮我吧 求救啊‘~~帮帮我吧~~~ 求救 大家帮帮我吧~ 求救, 大家帮帮我吧