dreamweaver插入记录集打不开网页
毕设要做用户登录网页,为什么插入记录集就打不开网页了,不懂代码,求大神啊<%@LANGUAGE="VBSCRIPT"CODEPAGE="936"%><!--#includ...
毕设要做用户登录网页,为什么插入记录集就打不开网页了,不懂代码,求大神啊
<%@LANGUAGE="VBSCRIPT" CODEPAGE="936"%>
<!--#include file="Connections/admin.asp" -->
<%
Dim Recordset1
Dim Recordset1_cmd
Dim Recordset1_numRows
Set Recordset1_cmd = Server.CreateObject ("ADODB.Command")
Recordset1_cmd.ActiveConnection = MM_admin_STRING
Recordset1_cmd.CommandText = "SELECT * FROM biao1"
Recordset1_cmd.Prepared = true
Set Recordset1 = Recordset1_cmd.Execute
Recordset1_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>
</head>
<body>
<form id="form1" name="form1" method="post" action="">
<table width="369" height="252" border="0">
<tr>
<td width="78">用户名</td>
<td width="281"><label for="username"></label>
<input type="text" name="username" id="username" /></td>
</tr>
<tr>
<td>密码</td>
<td><label for="password"></label>
<input type="text" name="password" id="password" /></td>
</tr>
<tr>
<td colspan="2"><input type="submit" name="button" id="button" value="登陆" /></td>
</tr>
</table>
</form>
</body>
</html>
<%
Recordset1.Close()
Set Recordset1 = Nothing
%> 展开
<%@LANGUAGE="VBSCRIPT" CODEPAGE="936"%>
<!--#include file="Connections/admin.asp" -->
<%
Dim Recordset1
Dim Recordset1_cmd
Dim Recordset1_numRows
Set Recordset1_cmd = Server.CreateObject ("ADODB.Command")
Recordset1_cmd.ActiveConnection = MM_admin_STRING
Recordset1_cmd.CommandText = "SELECT * FROM biao1"
Recordset1_cmd.Prepared = true
Set Recordset1 = Recordset1_cmd.Execute
Recordset1_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>
</head>
<body>
<form id="form1" name="form1" method="post" action="">
<table width="369" height="252" border="0">
<tr>
<td width="78">用户名</td>
<td width="281"><label for="username"></label>
<input type="text" name="username" id="username" /></td>
</tr>
<tr>
<td>密码</td>
<td><label for="password"></label>
<input type="text" name="password" id="password" /></td>
</tr>
<tr>
<td colspan="2"><input type="submit" name="button" id="button" value="登陆" /></td>
</tr>
</table>
</form>
</body>
</html>
<%
Recordset1.Close()
Set Recordset1 = Nothing
%> 展开
- 你的回答被采纳后将获得:
- 系统奖励15(财富值+成长值)+难题奖励30(财富值+成长值)
展开全部
网页打不开的解决办法:
1.电脑遭到恶意病毒入侵,不知名的下载站一些文件可能带病毒,下载运行了可能会出现网页打不开现象;
2.DNS设置错误,需要修改DNS设置;
3.浏览器设置代理服务器选项,所以出现打不开网页情况;
4.系统垃圾和网页痕迹较多,没有做定期清理;
5.使用百度安全卫士和百度杀毒系统清理功能和系统修复功能,即可解决该类问题。
1.电脑遭到恶意病毒入侵,不知名的下载站一些文件可能带病毒,下载运行了可能会出现网页打不开现象;
2.DNS设置错误,需要修改DNS设置;
3.浏览器设置代理服务器选项,所以出现打不开网页情况;
4.系统垃圾和网页痕迹较多,没有做定期清理;
5.使用百度安全卫士和百度杀毒系统清理功能和系统修复功能,即可解决该类问题。
本回答被网友采纳
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询