📄 admin_anclass.aspx
字号:
<%@ page language="C#" autoeventwireup="true" validaterequest="false" inherits="config, App_Web_ovvphrng" %>
<%@ Register Src="chkadmin.ascx" TagName="chkadmin" TagPrefix="uc2" %>
<!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 href="images/metal/style.css" rel="stylesheet" type="text/css" />
</head>
<body>
<form id="form1" runat="server">
<div>
<uc2:chkadmin id="Chkadmin1" runat="server"></uc2:chkadmin>
<table width=85% cellspacing=0 cellpadding=0 align=center ID="Table16">
<tr>
<td class=mframe-t-left></td>
<td class=mframe-t-mid><span class=mframe-t-text>游戏信息管理</span></td>
<td class=mframe-t-right></td>
</tr>
</table>
<table width=85% cellspacing=0 cellpadding=0 align=center ID="Table17">
<tr>
<td class=mframe-m-left style="height: 21px"></td>
<td class=mframe-m-mid align=center style="height: 21px">
<br />
<asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" Width="533px" AllowPaging="True" BackColor="White" BorderColor="White" BorderStyle="Ridge" BorderWidth="2px" CellPadding="3" CellSpacing="1" GridLines="None" OnPageIndexChanging="GridView1_PageIndexChanging" OnRowDataBound="GridView1_RowDataBound" OnRowDeleting="GridView1_RowDeleting">
<Columns>
<asp:BoundField DataField="anclassid" HeaderText="序号">
<ItemStyle Width="60px" />
</asp:BoundField>
<asp:BoundField DataField="anclass" HeaderText="游戏名称">
<ItemStyle Width="400px" HorizontalAlign="Left" />
</asp:BoundField>
<asp:BoundField DataField="orderid" HeaderText="排序">
<ItemStyle Width="100px" />
</asp:BoundField>
<asp:TemplateField HeaderText="操 作" ShowHeader="False">
<ItemStyle Width="80px" />
<ItemTemplate>
<asp:LinkButton ID="LinkButton1" runat="server" CausesValidation="False" CommandName="Delete"
Text="删除"></asp:LinkButton>
</ItemTemplate>
</asp:TemplateField>
</Columns>
<PagerSettings FirstPageText="第一页" LastPageText="最后一页" Mode="NextPreviousFirstLast"
NextPageText="下一页" PreviousPageText="上一页" />
<FooterStyle BackColor="#C6C3C6" ForeColor="Black" />
<RowStyle BackColor="#DEDFDE" ForeColor="Black" />
<SelectedRowStyle BackColor="#9471DE" Font-Bold="True" ForeColor="White" />
<PagerStyle BackColor="#C6C3C6" ForeColor="Black" HorizontalAlign="Right" />
<HeaderStyle BackColor="#4A3C8C" Font-Bold="True" ForeColor="#E7E7FF" />
</asp:GridView>
<br />
<table align="center" style="width: 488px">
<tr>
<td style="width: 66px; height: 39px;" align="right">
游戏名称:</td>
<td style="width: 124px; height: 39px;" align="left">
<asp:TextBox ID="txttitle" runat="server" Width="221px"></asp:TextBox>
<asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="txttitle"
ErrorMessage="*"></asp:RequiredFieldValidator></td>
</tr>
<tr>
<td style="width: 66px; height: 33px;" align="right">
排序:</td>
<td align="left" style="width: 124px; height: 33px;">
<asp:TextBox ID="txtorderid" runat="server" Width="70px">0</asp:TextBox>
<asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="txtorderid"
ErrorMessage="*"></asp:RequiredFieldValidator>
<asp:RegularExpressionValidator ID="RegularExpressionValidator2" runat="server" ControlToValidate="txtorderid"
ErrorMessage="只能填数字" ValidationExpression="\d+"></asp:RegularExpressionValidator></td>
</tr>
<tr>
<td align="right" style="width: 66px; height: 33px">
图片上传:</td>
<td align="left" style="width: 124px; height: 33px">
<asp:FileUpload ID="FileUpload1" runat="server" Width="225px" />
<asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" ControlToValidate="FileUpload1"
ErrorMessage="必须是 jpg或者gif文件" ValidationExpression="^(([a-zA-Z]:)|(\\{2}\W+)\$?)(\\(\W[\W].*))+(.gif|.jpg|.Jpg|.Gif)$"></asp:RegularExpressionValidator></td>
</tr>
<tr>
<td style="height: 56px" colspan="2">
<asp:Button ID="Butup" runat="server" OnClick="Butup_Click" Text="添 加" /></td>
</tr>
</table>
</td><td class=mframe-m-right style="height: 21px"></td>
</tr>
</table>
<table width=85% cellspacing=0 cellpadding=0 align=center ID="Table24">
<tr><td class=mframe-b-left></td>
<td class=mframe-b-mid> </td>
<td class=mframe-b-right></td>
</tr>
</table>
</div>
</form>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -