⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 role_staff.aspx

📁 简单的岗位考评程序.报表\查询功能齐全. 窗体是根据数据库中的数据动态生成.
💻 ASPX
字号:
<%@ Page language="c#" Codebehind="role_staff.aspx.cs" AutoEventWireup="false" Inherits="gwpj.role_staff" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
	<HEAD>
		<title>role_staff</title>
		<meta name="GENERATOR" Content="Microsoft Visual Studio .NET 7.1">
		<meta name="CODE_LANGUAGE" Content="C#">
		<meta name="vs_defaultClientScript" content="JavaScript">
		<meta name="vs_targetSchema" content="http://schemas.microsoft.com/intellisense/ie5">
		<LINK href="Style.css" type="text/css" rel="stylesheet">
	</HEAD>
	<body leftMargin="0" topMargin="0" rightMargin="0" MS_POSITIONING="GridLayout">
		<form id="Form1" method="post" runat="server">
			<FONT face="宋体">
				<TABLE id="Table" cellSpacing="0" cellPadding="0" width="100%" border="0">
					<TR>
						<TD height="20" bgColor="#2e5cb8"></TD>
					</TR>
					<TR bgcolor="darkgray">
						<TD colSpan="2" height="20" style="COLOR: white">--&gt;评价人员添加</TD>
					</TR>
					<tr>
						<td colSpan="2" bgColor="#3366cc" height="20"></td>
					</tr>
				</TABLE>
				<TABLE class="Table" id="Table1" cellSpacing="0" cellPadding="0" width="100%" border="0">
					<tr>
						<td colSpan="7" height="15" align="center">
							<TABLE id="Table2" cellSpacing="0" cellPadding="0" width="100%" border="0">
								<TR>
									<TD width="280" height="40" style="WIDTH: 139px">人员编码:</TD>
									<td width="152" height="40" style="WIDTH: 152px">
										<asp:TextBox id="TxtStaff_code" runat="server" CssClass="TextBox" Width="126px"></asp:TextBox></td>
									<TD style="WIDTH: 30px" width="30" height="40"></TD>
									<TD width="155" height="40" style="WIDTH: 155px">人员名称:</TD>
									<td width="80" height="40">
										<asp:TextBox id="TxtStaff_name" runat="server" CssClass="TextBox" Width="141px"></asp:TextBox></td>
									<TD width="30" height="40" style="WIDTH: 33px">
									</TD>
									<TD width="100" height="40">口令:</TD>
									<TD style="WIDTH: 154px" width="154" height="40">
										<asp:TextBox id="TxtPass" runat="server" Width="131px" CssClass="TextBox" TextMode="Password"></asp:TextBox></TD>
									<TD width="30" height="40"></TD>
									<TD width="107" height="40" style="WIDTH: 107px">
										<asp:Button id="Button1" runat="server" CssClass="Button" Text="添 加"></asp:Button></TD>
									<TD height="40"></TD>
								</TR>
							</TABLE>
						</td>
					</tr>
					<TR>
						<TD align="center" colSpan="7">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
							<asp:datagrid id="DataGrid1" runat="server" AutoGenerateColumns="False" Width="90%" BackColor="White"
								CellPadding="3" BorderColor="#CCCCCC" BorderStyle="None" BorderWidth="1px" PageSize="15" AllowPaging="True"
								OnPageIndexChanged="MyDataGrid_Page">
								<SelectedItemStyle Font-Bold="True" ForeColor="White" BackColor="#669999"></SelectedItemStyle>
								<EditItemStyle ForeColor="Blue" BackColor="Info"></EditItemStyle>
								<AlternatingItemStyle BackColor="Gainsboro"></AlternatingItemStyle>
								<ItemStyle Height="28px" ForeColor="#000066"></ItemStyle>
								<HeaderStyle Font-Bold="True" Height="20px" ForeColor="White" BackColor="#5B3A00"></HeaderStyle>
								<FooterStyle ForeColor="#000066" BackColor="White"></FooterStyle>
								<Columns>
									<asp:BoundColumn DataField="staff_code" ReadOnly="True" HeaderText="人员编码"></asp:BoundColumn>
									<asp:BoundColumn DataField="staff_name" HeaderText="人员名称"></asp:BoundColumn>
									<asp:ButtonColumn Text="&lt;img src='images/delete.gif' border='0' alt='删除'/&gt;" HeaderText="删除"
										CommandName="Delete">
										<HeaderStyle HorizontalAlign="Center" Width="30px"></HeaderStyle>
										<ItemStyle HorizontalAlign="Center"></ItemStyle>
									</asp:ButtonColumn>
								</Columns>
							</asp:datagrid>
							<asp:label id="lblPageCount" runat="server"></asp:label>&nbsp;&nbsp;&nbsp;
							<asp:label id="lblCurrentIndex" runat="server"></asp:label>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
							<asp:linkbutton id="btnFirst" onclick="PagerButtonClick" runat="server" ForeColor="navy" CommandArgument="0"
								Font-size="8pt" Font-Name="verdana"></asp:linkbutton>&nbsp;&nbsp;
							<asp:linkbutton id="btnPrev" onclick="PagerButtonClick" runat="server" ForeColor="navy" CommandArgument="prev"
								Font-size="8pt" Font-Name="verdana"></asp:linkbutton>&nbsp;&nbsp;
							<asp:linkbutton id="btnNext" onclick="PagerButtonClick" runat="server" ForeColor="navy" CommandArgument="next"
								Font-size="8pt" Font-Name="verdana"></asp:linkbutton>&nbsp;&nbsp;
							<asp:linkbutton id="btnLast" onclick="PagerButtonClick" runat="server" ForeColor="navy" CommandArgument="last"
								Font-size="8pt" Font-Name="verdana"></asp:linkbutton></TD>
					</TR>
					<TR>
						<TD colSpan="7"></TD>
					</TR>
				</TABLE>
			</FONT>
		</form>
	</body>
</HTML>
                                                                    

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -