<%@LANGUAGE="JScript"%>
<html>
<!-- #include file="tools.js" -->
<% 
var nn,ss,conn;
conn = Server.CreateObject("ADODB.Connection");
conn.Open("BB");
ss="select title,editor,source,tdatetime,content from  moon  where ID="+request.querystring("id");
nn = executeSQL(ss);//tools.js里的函数
%>
</table>
<tr>
<td><%=nn("title")%></td>
<td><%=nn("editor")%></td>
<td><%=nn("source")%></td>
<td><%=nn("tdatetime")%></td>
<td><%=nn("content")%></td>
</tr>
</table>
<%
nn.close;
%>
</html>
你没加 table 啊

解决方案 »

  1.   

    同上 没加 table 
    <%@LANGUAGE="JScript"%>
    <html>
    <!-- #include file="tools.js" -->
    <% 
    var nn,ss,conn;
    conn = Server.CreateObject("ADODB.Connection");
    conn.Open("BB");
    ss="select title,editor,source,tdatetime,content from  moon  where ID="+request.querystring("id");
    nn = executeSQL(ss);//tools.js里的函数
    %>
    <table> //////////////////////////////////////////////////////////
    <tr>
    <td><%=nn("title")%></td>
    <td><%=nn("editor")%></td>
    <td><%=nn("source")%></td>
    <td><%=nn("tdatetime")%></td>
    <td><%=nn("content")%></td>
    </tr>
    </table>/////////////////////////////////////////////////////
    <%
    nn.close;
    %>
    </html>