asp+access记录为什么显示不出来

来源:百度知道 编辑:UC知道 时间:2024/09/18 05:37:12
<%@LANGUAGE="VBSCRIPT" CODEPAGE="936"%>
<!--#include file="conn/ebassn_conn.asp" -->
<% dim ebassn_rs,ebasssn_sql
Set ebassn_rs= Server.CreateObject("ADODB.Recordset")
ebassn_sql="select * from huiyuan"
ebassn_rs.open ebassn_sql,ebassn_dbconn,1,1

%>
<!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=utf-8" />
<title>测试数据库</title>
</head>
<body>
<%=ebassn_rs("uname") %

建议你先将internet选项中“高级”下的“显示友好的出错信息”前面的勾先去掉,然后看看到底是哪一块出错了,将出错的信息贴出来。保证给你解决好

太难了!