<%@ Page Language="C#" AutoEventWireup="true" CodeFile="BaseAdvertisement.aspx.cs" Inherits="WTOSYSadmin_news_Advertisement" %>

<!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">
              <link href="../../SYSadmin/css/neiye.css" rel="stylesheet" type="text/css" />
    <link href="../../SYSadmin/css/style.css" rel="stylesheet" type="text/css" />
    <title>无标题页</title>
</head>
<body>
<div class="tright">
	<li><a href="#">广告管理</a></li>
</div>
    <form id="form1" runat="server">
    <div>
        <table border="0" cellpadding="0" cellspacing="0" width="100%">
            <tr>
                <td align="center" style="height: 4px">
                    <table border="0" cellpadding="0" cellspacing="0" width="98%">
                        <tr>
                            <td align="right" style="height: 30px">
                                &nbsp;&nbsp;
                                <asp:LinkButton ID="LinkButton3" runat="server" CssClass="btn" OnClick="LinkButton1_Click" PostBackUrl="~/SYSadmin/news/BaseAdAdd.aspx" Visible="False">添加</asp:LinkButton>
                                </td>
                        </tr>
                    </table>
                    <asp:Label ID="nors" runat="server" Text="暂不存在记录，请添加!" Visible="False" BorderStyle="None"></asp:Label></td>
            </tr>
            <tr>
                <td align="center">
    
        <asp:GridView ID="GridView1" runat="server" AllowPaging="True" AutoGenerateColumns="False"
            OnPageIndexChanging="GridView1_PageIndexChanging" OnRowDataBound="GridView1_RowDataBound"
            PageSize="15" Width="98%">
            
            <PagerSettings FirstPageText="首页" LastPageText="尾页" Mode="NextPreviousFirstLast"
                NextPageText="下一页" PageButtonCount="15" PreviousPageText="上一页" />
            <Columns>
                <asp:TemplateField HeaderText="缩略图">
                    <EditItemTemplate>
                        <asp:TextBox ID="TextBox1" runat="server"></asp:TextBox>
                    </EditItemTemplate>
                    <ItemTemplate>
                        <asp:Image ID="adimg" runat="server" />
                    </ItemTemplate>
                </asp:TemplateField>
                <asp:BoundField DataField="id" HeaderText="类别ID" >
                    <ItemStyle HorizontalAlign="Center" Width="100px" />
                    <HeaderStyle Width="100px" />
                </asp:BoundField>
                <asp:HyperLinkField DataTextField="title" HeaderText="标题" DataNavigateUrlFields="id,title" DataNavigateUrlFormatString="~/SYSadmin/news/BaseAdAdd.aspx?id={0}&amp;doing=edit&amp;tit={1}" />
                <asp:HyperLinkField DataNavigateUrlFields="id,title" HeaderText="编辑" Text="编辑" DataNavigateUrlFormatString="~/SYSadmin/news/BaseAdAdd.aspx?id={0}&amp;doing=edit&amp;tit={1}">
                    <ItemStyle Width="100px" />
                    <HeaderStyle Width="100px" />
                </asp:HyperLinkField>
            </Columns>
            <PagerStyle BorderWidth="1px" Font-Bold="True" Font-Italic="False" Font-Overline="False"
                Font-Underline="True" HorizontalAlign="Right" />
            <HeaderStyle CssClass="tright" />
        </asp:GridView>

                        <table border="0" cellpadding="0" cellspacing="0" width="98%" id="t1" runat=server>
                            <tr>
                                <td align="left" style="height: 21px">
                <asp:Label ID="Label1" runat="server" Text="Label"></asp:Label></td>
                            </tr>
                        </table>
                </td>
            </tr>
        </table>
    
    </div>
    </form>
</body>
</html>
