📄 manageisgood.aspx
字号:
<%@ Page Language="C#" MasterPageFile="~/Manage/YyzyqMagage.master" AutoEventWireup="true" CodeFile="ManageIsGood.aspx.cs" Inherits="Manage_ManageIsGood" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<table style="width: 100%">
<tr>
<td style="width: 70%" valign="top">
<asp:DataGrid ID="MyDg" runat="server" AllowPaging="True" AutoGenerateColumns="False"
OnDeleteCommand="MyDg_DeleteCommand" OnItemDataBound="MyDg_ItemDataBound" OnPageIndexChanged="MyDg_PageIndexChanged"
PageSize="20" Width="100%" OnItemCommand="MyDg_ItemCommand">
<HeaderStyle CssClass="td_c" Font-Bold="False" Font-Italic="False" Font-Overline="False"
Font-Strikeout="False" Font-Underline="False" />
<Columns>
<asp:BoundColumn DataField="id" ReadOnly="True" Visible="False"></asp:BoundColumn>
<asp:BoundColumn DataField="title" HeaderText="名称">
<ItemStyle Width="45%" />
</asp:BoundColumn>
<asp:BoundColumn DataField="adddate" HeaderText="添加时间">
<ItemStyle Width="20%" />
</asp:BoundColumn>
<asp:TemplateColumn HeaderText="排序">
<ItemStyle Width="15%" />
<ItemTemplate>
<asp:RadioButton ID="rb0" runat="server" Checked='<%# Convert.ToInt32(Eval("orderby")) == 0 %>'
GroupName="orderby" />
<asp:RadioButton ID="rb1" runat="server" Checked='<%# Convert.ToInt32(Eval("orderby")) == 1 %>'
GroupName="orderby" />
</ItemTemplate>
</asp:TemplateColumn>
<asp:TemplateColumn HeaderText="更新">
<ItemStyle Width="10%" />
<ItemTemplate>
<asp:LinkButton ID="lkbGx" runat="server" CommandName="Order">更新</asp:LinkButton>
</ItemTemplate>
</asp:TemplateColumn>
<asp:ButtonColumn CommandName="Delete" HeaderText="删除" Text="删除">
<HeaderStyle ForeColor="White" />
<ItemStyle Width="10%" />
</asp:ButtonColumn>
</Columns>
<PagerStyle Font-Bold="False" Font-Italic="False" Font-Overline="False" Font-Strikeout="False"
Font-Underline="False" HorizontalAlign="Right" Mode="NumericPages" />
</asp:DataGrid></td>
<td style="width: 30%" valign="top">
<table class="bordercolor">
<tr>
<td align="center" class="td_c" colspan="2">
添加首页图片</td>
</tr>
<tr>
<td>
类 型:</td>
<td>
<asp:DropDownList ID="ddlType" runat="server">
<asp:ListItem Value="0">图片连接</asp:ListItem>
<asp:ListItem Value="1">Flash游戏</asp:ListItem>
</asp:DropDownList></td>
</tr>
<tr>
<td style="width: 40%">
名 称:</td>
<td style="width: 60%">
<asp:TextBox ID="txtNmae" runat="server" Width="120px"></asp:TextBox></td>
</tr>
<tr>
<td>
地 址:</td>
<td>
<asp:TextBox ID="txtUrl" runat="server" Width="120px"></asp:TextBox></td>
</tr>
<tr>
<td>
图片地址:</td>
<td>
<asp:TextBox ID="txtPic" runat="server" Width="120px"></asp:TextBox></td>
</tr>
<tr>
<td align="center" colspan="2">
<asp:Button ID="btnAdd" runat="server" OnClick="btnAdd_Click" Text="添加" />
<input type="reset" value="重写" /></td>
</tr>
</table>
</td>
</tr>
</table>
</asp:Content>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -