⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 useradd.asp

📁 这是一个基于WEB的树木分类专家系统asp源代码,对于初学者特别有帮助!
💻 ASP
字号:
<%
 Set conn = Server.CreateObject("ADODB.Connection")
    conn.Open "driver={Microsoft Access Driver (*.mdb)};dbq="&Server.MapPath("tree.mdb")
    set rs= server.createobject("adodb.recordset") 
username = request.querystring("username")
set rs=Server.CreateObject("ADODB.recordset")
strsql = "select *  from 用户信息表 where username = '"&username & "'"
rs.open strsql ,conn
%>
<html>

<head>
<meta http-equiv="Content-Language" content="zh-cn">
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<meta name="GENERATOR" content="Microsoft FrontPage 4.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<title>add1</title>
<style type="text/css">
<!--
.style1 {
	font-size: 18px;
	color: #3366CC;
}
body {
	background-color: #CCFFCC;
}
.style2 {color: #FF9999}
.style3 {font-size: 18px; color: #FF9999; }
-->
</style>
</head>

<body>

<form method="POST" action="useradd2.asp">
  <table width="404" height="246" border="1" align="center" bgcolor="#ccffcc" class="style1">
    <tr>
      <td width="365" height="213"><h3 class="style3"> 用&nbsp;户&nbsp;名:
<input name="username" type="text" value="">                                                                                                                                
      </h3>
      <h3 class="style3"> 密 &nbsp;&nbsp;&nbsp;码:
        <input type="text" name="password">
      </h3>
      <h3 class="style3"> Q &nbsp;&nbsp;&nbsp;&nbsp;Q: 
        <input type="text" name="qq">
</h3>
      <h3 class="style2">&nbsp;Email&nbsp;:
        <input type="text" name="Email">
</h3></td>
    </tr>
  </table>
  <p align="center">&nbsp;  </p>
  <p align="center"><br>
    <input type="submit" value="提交" name="B1">
    <input type="reset" value="全部重写" name="B2">
  </p>
</form>
<p align="center"> </p>

</body>

</html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -