網路編程中點擊不同記錄進行修改,刪除不同記錄的另一編程思想ASP與資料庫的應用

來源:互聯網
上載者:User
如何通過 點擊list控制項中的某一列使它傳遞給 一個修改的對話方塊
QQ: 283989349 E-mail: mjf150080@tom.com 有問題時,
我們可以通過http://www.hustc.mpc.cn 這個論壇,
我的另一個blog http://blog.111cn.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>

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.