asp数据库读取数据失败,用的是<div>层,不是表格!!
报出来的错误是这么一行英文:An error occurred on the server when processing the URL. Please contact the system administrator.
If you are the system administrator please click here to find out more about this error.
<div style="width:690px; height:380px; border-style:solid">
<%
set rs = server.CreateObject("adodb.recordset")
sql = "select contenttop,content from yhly"
rs.open sql,conn
if not rs.eof then
%>
<div style="width:350px; height:30px; border-style:solid; float:left">留言标题:<% contenttop = rs("contenttop") %></div>
<div style="width:305px; height:30px; border-style:solid; float:left">留言时间:<% datenow = rs("datenow")%></div><p></p>
<div style="width:680px; height:150px; border-style:solid">留言内容:<p></p><% content = rs("content")%></div>
</div>
各位大侠帮帮我吧,我是个新手!!!