数据库连接问题:我那里写错了,怎么老是连接不起呀?

来源:百度知道 编辑:UC知道 时间:2024/05/28 18:42:47
登陆文件名为:login

<!--#include file="../conn.asp"-->
<!--#include file="../inc/md5.asp"-->

<%
dim username,password

If request("action")="logout" Then
session("AdminName")=""
Response.Redirect "../index.asp"
End If
username=trim(request("username"))
password=trim(request("password"))
password=md5(password)
if username="" then
%>

<form name="Login" action="login.asp" method="post" target="_parent" onSubmit="return CheckForm();">

用户名称<input name="username" type="text" id="username" maxlength="20" style="width:160px;border-style:solid;border-width:1;padding-left:4;padding-right:4;padding-top:1;padding-bottom:1" onMouseOver="this.style.background='#D6DFF7&

set rs11=Server.CreateObject("ADODB.RecordSet")

不行的话 看看把rs11 改个名字看看我看11 不怎么顺眼

response.write rs11.Fields("password")

我也碰到过这样的问题.