本人菜鸟,用Dreamweaver8的ASP VB做网站,在窗口》绑定》记录集 里测试时出现FROM 子句语法错误。在线等

不知道和程序有没有关系:<%@LANGUAGE="VBSCRIPT"CODEPAGE="936"%><!--#includefile="Connections/guanl... 不知道和程序有没有关系:
<%@LANGUAGE="VBSCRIPT" CODEPAGE="936"%>
<!--#include file="Connections/guanli.asp" -->
<%
Dim gl
Dim gl_numRows

Set gl = Server.CreateObject("ADODB.Recordset")
gl.ActiveConnection = MM_guanli_STRING
gl.Source = "SELECT * FROM T-guanli ORDER BY id DESC"
gl.CursorType = 0
gl.CursorLocation = 2
gl.LockType = 1
gl.Open()

gl_numRows = 0
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>管理员资料</title>
<link href="css.css" rel="stylesheet" type="text/css" />
</head>

<body>
<table width="780" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<th scope="col"><div align="center" class="bj">管 理 员 资 料</div></th>
</tr>
<tr>
<td class="fk_table"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<th align="center" class="fk_bk" scope="col">添加管理员资料 | 查找管理员资料 | 退出管理员资料</th>
</tr>
<tr>
<td class="fk_bk"> </td>
</tr>
<tr>
<td><table width="100%" border="0" cellpadding="0" cellspacing="1" bgcolor="#00CCFF">
<tr>
<th width="100" bgcolor="#FFCC99" scope="col">姓 名</th>
<th width="80" bgcolor="#FFCC99" scope="col">性 别</th>
<th width="80" bgcolor="#FFCC99" scope="col">年 龄</th>
<th width="120" bgcolor="#FFCC99" scope="col">电 话</th>
<th bgcolor="#FFCC99" scope="col">地 址</th>
<th width="50" bgcolor="#FFCC99" scope="col">编 辑</th>
<th width="50" bgcolor="#FFCC99" scope="col">删 除</th>
</tr>
<tr>
<td bgcolor="#FFCC99"> </td>
<td bgcolor="#FFCCCC"> </td>
<td bgcolor="#FFCCCC"> </td>
<td bgcolor="#FFCCCC"> </td>
<td bgcolor="#FFCCCC"> </td>
<td bgcolor="#FFCCCC"> </td>
<td bgcolor="#FFCCCC"> </td>
</tr>
</table></td>
</tr>
<tr>
<th height="30" align="right">第一页 | 上一页 | 下一页 | 最后一页</th>
</tr>
</table></td>
</tr>
<tr>
<th class="bj">xx网络社区©版权所有</th>
</tr>
</table>
</body>
</html>
<%
gl.Close()
Set gl = Nothing
%>
展开
 我来答
傲樱星12
2011-03-10 · TA获得超过129个赞
知道答主
回答量:89
采纳率:0%
帮助的人:70.8万
展开全部
我粗略地看了下,可能是你的数据库的名字有问题,T-guanli 。
我现在也都是自己写链接数据库了,DW自动生成的那个太复杂,有很多冗余的部分。希望楼主可以自己锻炼哦。祝你成功。
yueqianglin
2011-03-10 · 超过17用户采纳过TA的回答
知道答主
回答量:67
采纳率:0%
帮助的人:50.6万
展开全部
用Dreamweaver链接数据库会出现很多错误,只有当你有一定基础的时候,才能找出来,但这时又不会用这种方式去编写代码了。希望还是手写链接数据库,一步一步来,
已赞过 已踩过<
你对这个回答的评价是?
评论 收起
推荐律师服务: 若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询

为你推荐:

下载百度知道APP,抢鲜体验
使用百度知道APP,立即抢鲜体验。你的手机镜头里或许有别人想知道的答案。
扫描二维码下载
×

类别

我们会通过消息、邮箱等方式尽快将举报结果通知您。

说明

0/200

提交
取消

辅 助

模 式