当前位置:编程学习 > asp >>

网络编程中点击不同记录进行修改,删除不同记录的另一编程思想ASP与数据库的应用

如何通过 点击list控件中的某一列使它传递给 一个修改的对话框
QQ: 283989349 E-mail: mjf150080@tom.com 有问题时,
我们可以通过http://www.hustc.mpc.cn 这个论坛,
我的另一个blog http://blog.csdn.net/ma88fa/
<!--#include file="conn.asp"-->
<%
if session("admin")="" then
response.redirect "admin.asp"
else
if session("flag")>1 then
response.write "<br><p align=center>您没有操作的权限</p>"
response.end
end if
end if
dim rs, sql
%>
<html>
<head>
<title>用户管理</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link href="style.css" rel="stylesheet" type="text/css">
</head>
<%
Set rs=Server.CreateObject("Adodb.RecordSet")

sql="select * from admin where flag>="&Session("flag")&" order by id"

rs.Open sql,conn,1,1
%>
<body>
<center>
<p>修改管理员信息 | <a href=adduser.asp>增加管理员</a></p>

<table width="500" border="0" align="center" cellpadding="3" cellspacing="1" class="table">
<tr align="center" class="title">
<td width="120">用户名</td> <td width="120">密码</td> <td width="100">权限</td> <td width="130">操作</td>
</tr>
</table>
<table width="600" height="15" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td></td>
</tr>
补充:asp教程,数据库相关 
CopyRight © 2012 站长网 编程知识问答 www.zzzyk.com All Rights Reserved
部份技术文章来自网络,