📄 enlinkuserlist.aspx
字号:
<%@ page language="C#" autoeventwireup="true" inherits="ChinaedaCRM.ASPX.enlinkuserlist, 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> <base target="_self"></base>
<META http-equiv="Pragma" content="no-cache">
<script type="text/javascript" >
function checkall_onclick() {
var GridView1 = document.getElementById("<%=gvlist.ClientID %>");
for(i = 1;i < GridView1.rows.length; i++)
{
GridView1.rows[i].cells[0].getElementsByTagName("INPUT")[0].checked = document.getElementById("CheckALL").checked;
}
}
function openlinkpelope()
{
var EuserID=openlinkpelope.arguments[0];
window.showModalDialog("ElinkUserinfor.aspx?state=1&EuserID="+EuserID.toString(),"null","dialogHeight: 380px;dialogWidth: 270px;status:no;scroll:no;help:no");
document.form1.submit();
}
function ADDlinkpelope()
{
var EnID=ADDlinkpelope.arguments[0];
window.showModalDialog("ElinkUserinfor.aspx?state=0&EnID="+EnID.toString(),"null","dialogHeight: 380px;dialogWidth: 270px;status:no;scroll:no;help:no");
document.form1.submit();
}
</script>
<style type="text/css" >
#mainDiv
{
margin-left: auto;
margin-right: auto;
width:600px;
height: 600px
}
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:0px #3C4D82 solid;
border-collapse : collapse ;
}
</style>
</head>
<body>
<form id="form1" runat="server">
<div id="mainDiv">
<table border="0" cellpadding="0" cellspacing="0" style="width: 100%">
<tr>
<td>
<table border="0" cellpadding="0" cellspacing="0" style="width: 100%">
<tr>
<td style="width: 100px">
企业名称:<asp:Label ID="lblEnName" runat="server"></asp:Label></td>
<td style="width: 100px">
</td>
<td style="width: 100px">
<asp:LinkButton ID="linkAdd" runat="server">增加联系人</asp:LinkButton></td>
</tr>
</table>
</td>
</tr>
<tr>
<td align="center" >
<asp:GridView ID="gvlist" runat="server" AutoGenerateColumns="False" Width="95%" DataKeyNames="ID" OnRowDataBound="gvlist_RowDataBound" OnRowDeleting="gvlist_RowDeleting">
<Columns>
<asp:TemplateField>
<ItemTemplate>
<asp:CheckBox ID="check" runat="server" />
</ItemTemplate>
</asp:TemplateField>
<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="LUserName" HeaderText="姓名" />
<asp:BoundField DataField="sex" HeaderText="性别" />
<asp:BoundField DataField="Duty" HeaderText="职位" />
<asp:BoundField DataField="Tel" HeaderText="电话" />
<asp:BoundField DataField="Mobile" HeaderText="手机" />
<asp:BoundField DataField="Email" HeaderText="Email" />
<asp:BoundField DataField="QQNum" HeaderText="QQ" />
<asp:TemplateField ShowHeader="False">
<ItemTemplate>
<asp:LinkButton ID="delete" runat="server" CausesValidation="False" CommandName="Delete"
Text="删除"></asp:LinkButton>
</ItemTemplate>
</asp:TemplateField>
</Columns>
</asp:GridView>
</td>
</tr>
<tr>
<td align="center" ><label for="checkall">
<table border="0" cellpadding="0" cellspacing="0" style="width: 95%" id="tabBottom">
<tr>
<td style="width: 100px; height: 19px" align="left">
<input id="checkall" type="checkbox" language="javascript" onclick="return checkall_onclick()" /><label for="checkall">全选
</label></td>
<td style="width: 100px; height: 19px">
<asp:LinkButton ID="deleteAll" runat="server" OnClick="deleteAll_Click">删除所选项</asp:LinkButton></td>
<td style="width: 100px; height: 19px">
</td>
</tr>
</table>
</label></td>
</tr>
</table>
</div>
</form>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -