📄 editadmin.aspx
字号:
<%@ page language="C#" autoeventwireup="true" inherits="ChinaedaCRM.ASPX.editadmin, App_Web_bsmann3t" %>
<!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 runat="server">
<title>管理员列表</title>
<script type="text/javascript" >
function openeditwindow()
{
var UserAccount=openeditwindow.arguments[0];
window.showModalDialog ("addAdmin.aspx?state=1&UserAccount="+UserAccount.toString(),"null","dialogHeight: 400px;dialogWidth: 400px;status:no;scroll:no;help:no");
document.form1.submit();
}
</script>
<style type="text/css" >
#mainDiv
{
margin-left: auto;
margin-right: auto;
width:400px;
height: 400px
}
body{font-size:12px;color:#3C4D82;margin:0;}
.mainTable
{
border:0px #3C4D82 solid;
border-collapse : collapse ;
cellpadding:0 ;
cellspacing:0;
width: 100%;
text-align: center;
}
.mainTable td
{ border:1px #3C4D82 solid;
border-collapse : collapse ;
}
</style>
</head>
<body>
<form id="form1" runat="server">
<div id="mainDiv">
<asp:GridView ID="gvlist" runat="server" AutoGenerateColumns="False" OnRowDeleting="gvlist_RowDeleting"
Width="200px" DataKeyNames="id" OnRowDataBound="gvlist_RowDataBound">
<Columns>
<asp:TemplateField HeaderText="序号">
<ItemTemplate>
<asp:Label ID="Label3" runat="server" Text="<%# this.gvlist.PageIndex * this.gvlist.PageSize + this.gvlist.Rows.Count+ 1 %>"></asp:Label>
</ItemTemplate>
</asp:TemplateField>
<asp:BoundField DataField="UserAccount" HeaderText="帐号" />
<asp:BoundField DataField="UserName" HeaderText="姓名" />
<asp:TemplateField ShowHeader="False">
<ItemTemplate>
<asp:LinkButton ID="delete" runat="server" CausesValidation="False" CommandName="Delete"
Text="删除"></asp:LinkButton>
</ItemTemplate>
</asp:TemplateField>
</Columns>
</asp:GridView>
</div>
</form>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -