📄 photolist.aspx
字号:
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="PhotoList.aspx.cs" Inherits="WebPage_PhotoList" %>
<!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>
<LINK REL='stylesheet' Type='text/css' href="../css/cs2.css" />
</head>
<body>
<form id="form1" runat="server">
<div>
<table align="center" border="0" cellpadding="0" cellspacing="0" style="width: 590px;
background-color: #ffffff">
<tr>
<td align="center" style="width: 100px">
<table id="Table1" border="0" cellpadding="0" cellspacing="0" style="height: 63%"
width="590">
<tr>
<td style="height: 173px">
</td>
<td align="middle" style="height: 173px" valign="top" width="100%">
<table id="Table2" border="0" cellpadding="0" cellspacing="0" style="height: 46%"
width="100%">
<tr>
<td align="left" style="height: 34px" valign="center">
<table id="Table3" align="left" border="0" cellpadding="0" cellspacing="0" height="100%"
width="100%">
<tr>
<td align="middle" colspan="10" style="font-size: 1pt; height: 12px" valign="center">
</td>
</tr>
<tr>
<td align="right" style="width: 400px; height: 30px">
</td>
<td align="right" style="height: 30px">
<asp:Button ID="btnDel" runat="server" CssClass="button_all" Height="22px" OnClick="btnDel_Click"
Text="删 除" Width="57px" />
<asp:Button ID="btnAdd" runat="server" CausesValidation="False" CssClass="button_all"
Height="22px" OnClick="btnAdd_Click" TabIndex="4" Text="新 建" Width="60px" /></td>
</tr>
</table>
</td>
</tr>
<tr style="font-size: 1pt; height: 3px">
<td align="left" style="font-size: 1pt; height: 3px">
</td>
</tr>
<tr>
<td align="center" style="height: 98px" valign="top">
<asp:GridView ID="GridView1" runat="server" AllowPaging="True" AllowSorting="True"
AutoGenerateColumns="False" BorderWidth="1px" Font-Size="9pt" OnPageIndexChanging="changepage"
OnSelectedIndexChanged="GridView1_SelectedIndexChanged1" Width="100%">
<PagerSettings FirstPageText="首页" LastPageText="最后一页" Mode="NextPreviousFirstLast"
NextPageText="下一页" PreviousPageText="上一页" />
<PagerStyle Font-Bold="True" Font-Size="X-Small" Font-Strikeout="False" Font-Underline="False"
HorizontalAlign="Right" />
<Columns>
<asp:BoundField ApplyFormatInEditMode="True" DataField="ID" HeaderText="ID">
<ItemStyle HorizontalAlign="Center" Width="60px" Wrap="False" />
<HeaderStyle BackColor="#ECF1F9" HorizontalAlign="Center" />
</asp:BoundField>
<asp:BoundField DataField="CheckSelected" HeaderText="<INPUT id="chkAll" style="CURSOR: hand" onclick="SelectAllcheckBox();" type="checkbox">"
HtmlEncode="False">
<ItemStyle HorizontalAlign="Center" Width="60px" />
<HeaderStyle BackColor="#ECF1F9" HorizontalAlign="Center" />
</asp:BoundField>
<asp:ButtonField CommandName="Select" DataTextField="PhotoUrl" HeaderText="照片路径">
<ItemStyle HorizontalAlign="Center" />
<HeaderStyle BackColor="#ECF1F9" HorizontalAlign="Center" />
</asp:ButtonField>
<asp:BoundField DataField="PhotoExplain" HeaderText="照片说明">
<ItemStyle HorizontalAlign="Center" Width="100px" />
<HeaderStyle BackColor="#ECF1F9" HorizontalAlign="Center" />
</asp:BoundField>
<asp:BoundField DataField="CreateTime" HeaderText="发表时间">
<ItemStyle HorizontalAlign="Center" Width="110px" />
<HeaderStyle BackColor="#ECF1F9" HorizontalAlign="Center" />
</asp:BoundField>
<asp:BoundField DataField="IsNominate" HeaderText="是否显示" HtmlEncode="False">
<ItemStyle HorizontalAlign="Center" Width="60px" />
<HeaderStyle BackColor="#ECF1F9" HorizontalAlign="Center" />
</asp:BoundField>
<asp:BoundField DataField="IsAffiche" HeaderText="是否公告" HtmlEncode="False">
<ItemStyle HorizontalAlign="Center" VerticalAlign="Middle" Width="60px" />
<HeaderStyle BackColor="#ECF1F9" HorizontalAlign="Center" />
</asp:BoundField>
</Columns>
<AlternatingRowStyle BackColor="Snow" />
</asp:GridView>
</td>
</tr>
<tr>
<td align="left" valign="center">
<input id="hidWhere" runat="server" name="hidWhere" size="1" style="width: 19px;
height: 22px" type="hidden" /><input id="hidIsModify" runat="server" name="hidIsModify"
size="1" style="width: 19px; height: 22px" type="hidden" /></td>
</tr>
</table>
</td>
<td style="height: 173px">
</td>
</tr>
<tr>
<td style="height: 81px">
</td>
<td align="left" style="height: 81px" valign="center">
<div id="divParent" runat="server" style="border-right: #cecfde 1px solid; border-top: #cecfde 1px solid;
display: none; border-left: #cecfde 1px solid; width: 376px; border-bottom: #cecfde 1px solid;
height: 15px">
</div>
</td>
<td style="height: 81px">
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td align="center">
</td>
</tr>
</table>
</div>
</form>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -