📄 companylist.aspx
字号:
<%@ Register TagPrefix="cc1" Namespace="HTMS.Web.AspNetPager" Assembly="HTMS.Web.AspNetPager" %>
<%@ Page language="c#" Codebehind="CompanyList.aspx.cs" AutoEventWireup="false" Inherits="HTMS.Web.SysManage.CompanyManage.CompanyList" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
<HEAD>
<title>CompanyLists</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">
<script language="javascript" src="../../WebStyle/Js/Calendar1.js" type="text/javascript"></script>
</HEAD>
<body MS_POSITIONING="GridLayout">
<form id="Form1" method="post" runat="server">
<FONT face="宋体">
<TABLE id="Table1" style="Z-INDEX: 101; LEFT: 1px; WIDTH: 100%; POSITION: absolute; TOP: 2px"
cellSpacing="1" cellPadding="1" width="300" border="0">
<TR>
<TD colSpan="2" style="BORDER-BOTTOM:2px groove">
<div>
<DIV style="DISPLAY: inline; WIDTH: 890px; HEIGHT: 22px" ms_positioning="FlowLayout"><IMG height="18" src="../../WebStyle/Images/smiley.gif" width="18"><FONT color="#0066ff">公司查询:
</FONT>
</DIV>
<br>
<DIV style="DISPLAY: inline; WIDTH: 200px; HEIGHT: 24px" ms_positioning="FlowLayout"><FONT face="宋体">公司标题:
<INPUT id="name" type="text" name="Text1" runat="server"></FONT></DIV>
<DIV style="DISPLAY: inline; WIDTH: 240px; HEIGHT: 24px" ms_positioning="FlowLayout"><FONT face="宋体">冻结状态:
<asp:dropdownlist id="state" runat="server" Width="144px">
<asp:ListItem Value="-1" Selected="True">未选择</asp:ListItem>
<asp:ListItem Value="0">未冻结</asp:ListItem>
<asp:ListItem Value="1">已冻结</asp:ListItem>
</asp:dropdownlist></FONT></DIV>
<DIV style="DISPLAY: inline; WIDTH: 240px; HEIGHT: 24px" ms_positioning="FlowLayout"><FONT face="宋体">业务类型:
<asp:dropdownlist id="companyclass" runat="server" Width="144px"></asp:dropdownlist></FONT></DIV>
<DIV style="DISPLAY: inline; WIDTH: 80px; HEIGHT: 24px" align="center" ms_positioning="FlowLayout"><INPUT id="Submit3" type="button" value="添 加" name="Submit1" runat="server"></DIV>
<DIV style="DISPLAY: inline; WIDTH: 440px; HEIGHT: 24px" ms_positioning="FlowLayout"><FONT face="宋体">
注册时间: <INPUT id="startdate" style="WIDTH: 128px; HEIGHT: 18px" onfocus="setday(this);" type="text"
size="16" name="Text4" runat="server"> -------- <INPUT id="enddate" style="WIDTH: 144px; HEIGHT: 18px" onfocus="setday(this);" type="text"
size="18" name="Text3" runat="server"></FONT></DIV>
<DIV style="DISPLAY: inline; WIDTH: 240px; HEIGHT: 24px" ms_positioning="FlowLayout"><FONT face="宋体">公司描述:
<INPUT id="companydes" style="WIDTH: 176px; HEIGHT: 18px" type="text" size="24" name="Text2"
runat="server"></FONT></DIV>
<DIV style="DISPLAY: inline; WIDTH: 80px; HEIGHT: 24px" align="center" ms_positioning="FlowLayout"><INPUT id="Submit1" type="submit" value="查 询" name="Submit1" runat="server"></DIV>
</div>
</TD>
</TR>
<TR style="BORDER-BOTTOM:2px groove">
<TD vAlign="top" colSpan="2" height="437" style="HEIGHT: 437px">
<div align="justify"><IMG src="../../WebStyle/Images/expand.gif" width="18"><FONT color="#0066ff">
信息列表: </FONT>
<div style="DISPLAY: block; VISIBILITY: visible; OVERFLOW: auto; WIDTH: 100%" align="justify">
<asp:datagrid id="DataGrid1" runat="server" Width="100%" CellSpacing="1" AutoGenerateColumns="False"
BackColor="White" BorderColor="#3366CC" BorderStyle="None" BorderWidth="1px" CellPadding="2"
ForeColor="DodgerBlue">
<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="CompanyID"></asp:BoundColumn>
<asp:TemplateColumn HeaderText="编号">
<ItemTemplate>
<asp:Label ID="Label4" runat="server" Text="<%# this.DataGrid1.Items.Count+1 %>">
</asp:Label>
</ItemTemplate>
</asp:TemplateColumn>
<asp:TemplateColumn HeaderText="公司名称">
<ItemTemplate>
<asp:HyperLink ID=mylink1 Runat=server ForeColor="DodgerBlue" NavigateUrl='<%# "CompanyInfo.aspx?CompanyID=" + DataBinder.Eval(Container, "DataItem.CompanyID") %>' Text='<%# DataBinder.Eval(Container.DataItem, "CompanyName") %>' Target='_blank')>
</asp:HyperLink>
</ItemTemplate>
</asp:TemplateColumn>
<asp:HyperLinkColumn Text="公司主页" ItemStyle-ForeColor="DodgerBlue" DataNavigateUrlField="Web" HeaderText="公司主页"></asp:HyperLinkColumn>
<asp:TemplateColumn HeaderText="邮箱号">
<ItemTemplate>
<asp:HyperLink runat="server" ForeColor="DodgerBlue" Text="邮箱号" NavigateUrl='<%# "mailto:" + DataBinder.Eval(Container, "DataItem.Mail") %>' ID="Hyperlink1">
</asp:HyperLink>
</ItemTemplate>
</asp:TemplateColumn>
<asp:BoundColumn DataField="TelPhone" HeaderText="联系电话"></asp:BoundColumn>
<asp:TemplateColumn HeaderText="状态操作">
<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:ButtonColumn Text="删除" HeaderText="删除操作" CommandName="Delete"></asp:ButtonColumn>
</Columns>
</asp:datagrid></div>
</div>
<asp:label id="Label1" Visible="False" runat="server">Label</asp:label><FONT color="#0066ff" size="2"></FONT>
</TD>
</TR>
<TR>
<TD colSpan="2">
<hr width="100%">
<cc1:aspnetpager id="AspNetPager1" runat="server" Width="100%" PageSize="18" AlwaysShow="True" ChinesePageIndex="True"
ShowSelectBox="Always" ShowInputBox="Always" ShowCustomInfoSection="Left" UrlPaging="True"></cc1:aspnetpager></TD>
</TR>
</TABLE>
</FONT>
</form>
<script language="javascript">
//document.getElementById("Submit3").f
</script>
</body>
</HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -