才入门ASP菜鸟求解

来源:百度知道 编辑:UC知道 时间:2024/05/23 12:52:56
<%@LANGUAGE="VBSCRIPT" CODEPAGE="936"%>
<!--#include file="Connections/bb.asp" -->

<% Dim Recordset1
Dim Recordset1_numRows

Set Recordset1 = Server.CreateObject("ADODB.Recordset")
Recordset1.ActiveConnection = MM_bb_STRING
Recordset1.Source = "SELECT * FROM dlb ORDER BY id DESC"
Recordset1.CursorType = 0
Recordset1.CursorLocation = 2
Recordset1.LockType = 1
Recordset1.Open()

Recordset1_numRows = 0
%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>cr</title>
</head>

<body>
<table width="151" border="1" align="center">
<tr>
<th width="43" height="147" scope="row">id</th>
<td

你这里面什么也没有显示啊,都是空白的啊,ASP部分读取的内容没有起到作用

你的空间支持ASP吗 检查一下你里面调用的文件是不是都有,
<!--#include file="Connections/bb.asp" -->
有没有出现路径的错误