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

📄 companybadge.aspx

📁 合同管理 合同管理 合同管理
💻 ASPX
字号:
<%@ Page language="c#" Codebehind="CompanyBadge.aspx.cs" AutoEventWireup="false" Inherits="HTMS.Web.CompanySysMange.CompanyInfo.CompanyBadge" %>
<%@ Register TagPrefix="cc2" Namespace="HTMS.Web.AspNetPager" Assembly="HTMS.Web.AspNetPager" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
	<HEAD>
		<title>CompanyClass</title>
		<meta content="Microsoft Visual Studio .NET 7.1" name="GENERATOR">
		<meta content="C#" name="CODE_LANGUAGE">
		<meta content="JavaScript" name="vs_defaultClientScript">
		<meta content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema">
		<LINK href="../../WebStyle/Style/admin.css" type="text/css" rel="stylesheet">
		<LINK href="../../WebStyle/Style/divs.css" type="text/css" rel="stylesheet">
		<script language="javascript">
			function CheckAll()
			{
				var message="错误提示∵\n";
				var i=1;
				var flag=true;
				if(trim(document.form1.Name.value)=="")
				{
					message=message+i+".名称为空!\n";
					i++;flag=false;
				}					
				
				if(trim(document.form1.password.value)=="")
				{
					message=message+i+".密码为空!\n";
					i++;flag=false;
				}
				
				if(trim(document.form1.file.value)=="")
				{
					message=message+i+".请选择签章文件为空!\n";
					i++;flag=false;
				}
								
				if(trim(document.form1.des.value)=="")
				{
					message=message+i+".请选择签章文件为空!\n";
					i++;flag=false;
				}
				
				if(trim(document.form1.Actived.value)=="8")
				{
					message=message+i+".选择冻结状态!\n";
					i++;flag=false;
				}								
				if(!flag)
				{
					window.alert(message);
				}
				return flag;
			}
			function trim(str)
			{	
				return str.replace(/(^[\\s]*)|([\\s]*$)/g, "");
				
			}
		</script>
	</HEAD>
	<body>
		<form id="form1" runat="server">
			<div id="mypassworddiv" style="LEFT: 2px; WIDTH: 100%; POSITION: absolute; TOP: 1px"
				runat="server">公司签章密码:<INPUT id="passowrd" type="text" name="passowrd" runat="server">
				<INPUT id="Submit1" type="submit" value="提  交" name="Submit1" runat="server">
			</div>
			<div id="mybodydiv" style="dispany: none" runat="server">
				<table id="table1" style="LEFT: 2px; WIDTH: 100%; POSITION: absolute; TOP: 1px" border="1">
					<tr>
						<td style="WIDTH: 100%; HEIGHT: 440px" vAlign="top"><asp:datagrid id="DataGrid1" runat="server" ForeColor="DodgerBlue" CellPadding="2" BorderWidth="1px"
								BorderStyle="None" BorderColor="#3366CC" BackColor="White" Width="100%" AutoGenerateColumns="False" CellSpacing="1">
								<FooterStyle ForeColor="#003399" BackColor="#99CCCC"></FooterStyle>
								<SelectedItemStyle Font-Bold="True" ForeColor="#CCFF99" BorderColor="#C04000" BackColor="#009999"></SelectedItemStyle>
								<ItemStyle HorizontalAlign="Center" ForeColor="#003399" Width="80px" VerticalAlign="Middle"
									BackColor="White"></ItemStyle>
								<HeaderStyle Font-Bold="True" HorizontalAlign="Center" ForeColor="#CCCCFF" VerticalAlign="Middle"
									BackColor="#003399"></HeaderStyle>
								<Columns>
									<asp:BoundColumn Visible="False" DataField="CompanyBadgeID"></asp:BoundColumn>
									<asp:TemplateColumn HeaderText="编号">
										<ItemStyle Width="46px"></ItemStyle>
										<ItemTemplate>
											<asp:Label ID="Label4" runat="server" Text="<%# this.DataGrid1.Items.Count+1 %>">
											</asp:Label>
										</ItemTemplate>
									</asp:TemplateColumn>
									<asp:TemplateColumn HeaderText="签章名称">
										<ItemTemplate>
											<asp:LinkButton id=LinkButton1 ForeColor="#0066ff" runat="server" Text='<%# DataBinder.Eval(Container.DataItem, "BadgeName") %>' CommandName="showImage">
											</asp:LinkButton>
											<asp:TextBox ID="mybox" Runat="server" TextMode="SingleLine" Visible="False"></asp:TextBox>
										</ItemTemplate>
										<ItemStyle Width="60px"></ItemStyle>
									</asp:TemplateColumn>
									<asp:BoundColumn DataField="BadgePassword" HeaderText="签章密码">
										<ItemStyle Width="100px"></ItemStyle>
									</asp:BoundColumn>
									<asp:BoundColumn DataField="BadgeDes" HeaderText="签章描述">
										<ItemStyle Width="300px"></ItemStyle>
									</asp:BoundColumn>
									<asp:TemplateColumn HeaderText="文件类型">
										<ItemTemplate>
											<asp:Label runat="server" Text='<%# DataBinder.Eval(Container, "DataItem.BadgeType") %>'>
											</asp:Label>
										</ItemTemplate>
										<ItemStyle Width="60px"></ItemStyle>
									</asp:TemplateColumn>
									<asp:TemplateColumn HeaderText="状态操作">
										<ItemStyle Width="60px"></ItemStyle>
										<ItemTemplate>
											<asp:LinkButton id="LinkButton2" runat="server" ForeColor="#0066ff" Text='<%# DataBinder.Eval(Container.DataItem, "IsFreeze").ToString().Trim() == "0" ? "点击冻结" :"点击解冻" %>' CommandName="freeze">
											</asp:LinkButton>
										</ItemTemplate>
									</asp:TemplateColumn>
									<asp:EditCommandColumn ButtonType="LinkButton" UpdateText="更新" HeaderText="数据操作" CancelText="取消" EditText="编辑">
										<ItemStyle Width="80px"></ItemStyle>
									</asp:EditCommandColumn>
									<asp:ButtonColumn Text="删除" HeaderText="删除操作" CommandName="Delete">
										<ItemStyle Width="60px"></ItemStyle>
									</asp:ButtonColumn>
								</Columns>
								<PagerStyle NextPageText="下一页" PrevPageText="上一页" HorizontalAlign="Left" ForeColor="#003399"
									BackColor="#99CCCC" Mode="NumericPages"></PagerStyle>
							</asp:datagrid><FONT face="宋体"></FONT><cc2:aspnetpager id="AspNetPager1" runat="server" UrlPaging="True" ShowCustomInfoSection="Left" ShowInputBox="Always"
								ShowSelectBox="Always" ChinesePageIndex="True" AlwaysShow="True" PageSize="15"></cc2:aspnetpager></td>
					</tr>
					<tr>
						<td style="WIDTH: 100%; HEIGHT: 50px">
							<P>签章名称:<asp:textbox id="Name" runat="server" Width="136px" MaxLength="100" Height="19" CssClass="InputField"></asp:textbox>
								签章密码:
								<asp:textbox id="password" runat="server" Width="136px" MaxLength="100" Height="19" CssClass="InputField"></asp:textbox>&nbsp;是否冻结:
								<asp:dropdownlist id="Actived" runat="server" Width="120px" Height="19" CssClass="InputField">
									<asp:ListItem Value="8" Selected="True">--未选择--</asp:ListItem>
									<asp:ListItem Value="0">未冻结</asp:ListItem>
									<asp:ListItem Value="1">冻结</asp:ListItem>
								</asp:dropdownlist><br>
								<FONT face="宋体">签章文件:<INPUT id="file" style="WIDTH: 394px; HEIGHT: 18px" type="file" size="46" name="file" runat="server"></FONT><br>
								签章描述:<asp:textbox id="des" Width="616px" MaxLength="200" Runat="server"></asp:textbox><br>
								<asp:label id="Label1" runat="server" Width="40%"></asp:label><input class="buttonnormal" id="btAdd" onclick="return CheckAll();" type="submit" value="新  增"
									name="btAdd" runat="server">&nbsp;<FONT face="宋体">&nbsp;&nbsp; </FONT>
								<asp:linkbutton id="LinkButton3" runat="server" ForeColor="#0066ff">注销签章登陆</asp:linkbutton></P>
							<P>
								<hr SIZE="2">
						</td>
					</tr>
				</table>
			</div>
			<input id="myid" type="hidden" name="myid" runat="server">
		</form>
		<script language="javascript" type="text/javascript">
			document.form1.myid.value="";			
		</script>
	</body>
</HTML>

⌨️ 快捷键说明

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