文档介绍:代码部分:
一.( 用户管理)
<!--#include file=""-->
<!--#include file=""-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML Transitional//EN" "/xhtml1/DTD/xhtml1-">
<html xmlns="9/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<style type="text/css">
<!--
body { background-color: #FF; }
--> </style> </head>
<body>
<table width="640" height="35" border="1" cellpadding="0" cellspacing="0">
<tr> <td background=""><div align="center"><a href="">用户添加</a></div></td>
<td><div align="center"><a href="">用户管理</a></div></td></tr></table>
<p>&nbsp;</p>
<table width="640" height="35" border="1" cellpadding="0" cellspacing="0">
<tr>
<td width="101" align="center">id</td>
<td width="119" align="center">username</td>
<td width="177" align="center">password</td>
<td width="233" align="center">删除&nbsp;&nbsp; 修改</td>
</tr></table>
<%
exec="select * from user"
set rs=("")
exec,conn,1,3
do while not
%>
<table width="640" height="35" border="1" cellpadding="0" cellspacing="0">
<tr>
<td width="101" align="center"><%=rs("id")%></td>
<td width="119" align="center"><%=rs("username")%></td>
<td width="177" align="center"><%=rs("password")%></td>
<td width="233" align="center"><a href="?id=<%=rs("id")%>" class="h12">删除</a><a href="?id=<%=rs("id")%>" class="h12"> 修改</a></td></tr></table>
<%
loop
set rs=nothing
%> <p>&nbsp;</p></body></html>
二.( 用户添加)
<!--#include file=""-->
<%
x=("username")
y=("password")
exec="select * from user"
set rs=("")
exec,conn,1,3
rs("username")=x
rs("password")=y
"添加成功!!"
set rs=nothing
set conn=nothing
%>
三.()
<!--#include file=""