ASP读取SQL数据库显示到网页上有括号

来源:百度知道 编辑:UC知道 时间:2024/05/16 20:28:22
读取出来的记录反映在网页上都带有()我读取ACCESS里面的就没有 我是个大菜鸟哈 请高手教教我怎么去掉这些括号
这是我ASP文件里面的代码
<table width="200" border="0">
<%do while not rs.eof%>
<tr>
<th scope="col"><%name=rs("name")%></th>
<th scope="col"><%tel=rs("tel")%></th>
<th scope="col"><%message=rs("message")%></th>
<%
response.write "("&name&")("&tel&")("&message&")"
rs.movenext
loop
conn.close
set conn=nothing
set rs=nothing
%>
</tr>
</table>

数据库里面有几行空白数据 反映在网页上总有括号 这些括号怎么去?
()()()
()()()
()()()
()()()

"("&name&")("&tel&")("&message&")"
括号去掉即可

贴代码出来啊 你这样说不明白的

<%
response.write name & tel & message
rs.movenext
loop
conn.close
set conn=nothing
set rs=nothing
%>