<%@ page language="C#" autoeventwireup="true" inherits="news_newsfenlei, putonggan_deploy" %>

<!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 id="Head1" runat="server">
    <title></title>
     <style type="text/css">
.STYLE1 {font-size: 12px}
.STYLE3 {font-size: 12px; font-weight: bold; }
.STYLE4 {
	color: #03515d;
	font-size: 12px;
}
        
        a:link                       {font-size: 9pt;color: #2F6589; text-decoration: none;}
         .style7
         {
             color: #03515d;
             font-size: 12px;
             width: 373px;
         }
         .style8
         {
             width: 400px;
             height: 16px;
         }
    </style>

    <link href="../css/common.css" rel="stylesheet" type="text/css" />
    <link href="../css/Default.css" rel="stylesheet" type="text/css" />
</head>
<body>
    <form id="form1" runat="server">
    <div>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td height="30" 
          background="../images/tab_05.gif"><table width="100%" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td width="12" height="30">
            <img src="../images/tab_03.gif" 
                width="12" height="30" /></td>
        <td><table width="100%" border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td width="46%" valign="middle"><table border="0" cellspacing="0" cellpadding="0" 
                    class="style8">
              <tr>
                <td width="5%"><div align="center">
                    <img src="../images/tb.gif" width="16" 
                        height="16" /></div></td>
                <td width="95%" class="STYLE1"><span class="STYLE3">你当前的位置</span>：<asp:SiteMapPath 
                        ID="SiteMapPath1" runat="server">
                    </asp:SiteMapPath>
                  </td>
              </tr>
            </table></td>
            <td width="54%"><table border="0" align="right" cellpadding="0" cellspacing="0">
              <tr>
                <td width="60" class="STYLE1">
                        <asp:CheckBox ID="CheckBox2" runat="server" Text="全选" 
                            oncheckedchanged="CheckBox2_CheckedChanged"  AutoPostBack="True" />
                        </td>
                <td width="60"><table width="87%" border="0" cellpadding="0" cellspacing="0">
                  <tr>
                    <td class="STYLE1"><div align="center">
                        <table width="90%" border="0" cellpadding="0" cellspacing="0">
                  <tr>
                    <td class="STYLE1"><div align="center">
                        <img src="../images/22.gif" width="14" 
                            height="14" /></div></td>
                    <td class="STYLE1"><div align="center">
                        <asp:LinkButton ID="LinkButton2" runat="server" onclick="LinkButton2_Click">新增</asp:LinkButton>
                        </div></td>
                  </tr>
                </table>
                        </div></td>
                  </tr>
                </table></td>
                <td width="52"><table width="88%" border="0" cellpadding="0" cellspacing="0">
                  <tr>
                    <td class="STYLE1"><div align="center">
                        <img src="../images/11.gif" width="14" 
                            height="14" /></div></td>
                    <td class="STYLE1"><div align="center">
                        <asp:LinkButton ID="LinkButton1" runat="server" onclick="LinkButton1_Click" OnClientClick="return confirm('确定删除吗？无法恢复！')">删除</asp:LinkButton>
                        </div></td>
                  </tr>
                </table></td>
              </tr>
            </table></td>
          </tr>
        </table></td>
        <td width="16">
            <img src="../images/tab_07.gif" 
                width="16" height="30" /></td>
      </tr>
    </table></td>
  </tr>
  <tr>
    <td><table width="100%" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td width="8" 
              background="../images/tab_12.gif">&nbsp;</td>
        <td>
    <div>
        <asp:GridView ID="GridView1" runat="server" AllowPaging="True" 
            AutoGenerateColumns="False" EmptyDataText="没有或没有符合条件的新闻分类信息！" 
            Font-Size="Small"  
            OnRowDeleting="GridView1_RowDeleting" Width="100%" PageSize="2" CssClass="GridViewStyle" 
            >
            <Columns>
                <asp:TemplateField>
                   <ItemTemplate>
                   <asp:CheckBox ID="CheckBox1" runat="server" />
                    </ItemTemplate>
                 </asp:TemplateField>
                <asp:BoundField DataField="id" HeaderText="ID" InsertVisible="False" 
                    ReadOnly="True" />
                <asp:BoundField DataField="bianhao" HeaderText="编号" />
                <asp:BoundField DataField="fenlei" HeaderText="写实分类" />
                <asp:TemplateField HeaderText="编辑">
                    <ItemTemplate>
                        <a href='newsfenleiedit.aspx?id=<%# Eval("id") %>'>编辑</a>
                    </ItemTemplate>
                </asp:TemplateField>
                <asp:CommandField HeaderText="操作" ShowDeleteButton="True" 
                    ShowHeader="True"  DeleteText="&lt;div id=&quot;de&quot; onclick=&quot;JavaScript:return confirm('确定删除分类吗？无法恢复！')&quot;&gt;删除&lt;/div&gt; "/>
            </Columns>
            <HeaderStyle CssClass="HeaderStyle" />
            <PagerStyle CssClass="PagerStyle" /> 
            <RowStyle CssClass="RowStyle" />
            <PagerSettings Visible=false />
        </asp:GridView>
    </div>
            
          </td>
        <td width="8" 
              background="../images/tab_15.gif">&nbsp;</td>
      </tr>
    </table></td>
  </tr>
  <tr>
    <td height="35" 
          background="../images/tab_19.gif"><table width="100%" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td width="12" height="35">
            <img src="../images/tab_18.gif" 
                width="12" height="35" /></td>
        <td><table width="100%" border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td class="style7">&nbsp;&nbsp;<asp:Label ID="LblRecordCount" runat="server"></asp:Label>
                                            <span lang="zh-cn">每页<asp:DropDownList ID="pgsize" runat="server" 
                                                AutoPostBack="True" onselectedindexchanged="pgsize_SelectedIndexChanged">
                                                <asp:ListItem>10</asp:ListItem>
                                                <asp:ListItem>15</asp:ListItem>
                                                <asp:ListItem Selected="True">20</asp:ListItem>
                                                <asp:ListItem>30</asp:ListItem>
                                                <asp:ListItem>40</asp:ListItem>
                                                <asp:ListItem>50</asp:ListItem>
                                                <asp:ListItem>100</asp:ListItem>
                                                <asp:ListItem>150</asp:ListItem>
                                                <asp:ListItem>200</asp:ListItem>
                                                <asp:ListItem>300</asp:ListItem>
                                                <asp:ListItem>400</asp:ListItem>
                                                <asp:ListItem>500</asp:ListItem>
                                            </asp:DropDownList>
                                            条，</span><asp:Label ID="LblCurrentIndex" runat="server"></asp:Label>
                        <asp:Label ID="LblPageCount" runat="server"></asp:Label>
                        </td>
            <td class="STYLE4"><asp:LinkButton ID="btnFirst" CommandArgument="first" OnClick="PagerButtonClick"
                            runat="server">首 页</asp:LinkButton>&nbsp;<asp:LinkButton ID="btnPrev" CommandArgument="prev" OnClick="PagerButtonClick" runat="server">上一页</asp:LinkButton>
                        <asp:LinkButton ID="btnNext" CommandArgument="next" OnClick="PagerButtonClick" runat="server">下一页</asp:LinkButton>
                        <asp:LinkButton ID="btnLast" CommandArgument="last" OnClick="PagerButtonClick" runat="server">尾 页</asp:LinkButton>
                        
跳转到第<asp:DropDownList ID="ddlCurrentPage" runat="server" AutoPostBack="True" OnSelectedIndexChanged="DropDownList1_SelectedIndexChanged"> 
</asp:DropDownList>页</td>
          </tr>
        </table></td>
        <td width="16">
            <img src="../images/tab_20.gif" 
                width="16" height="35" /></td>
      </tr>
    </table></td>
  </tr>
</table>

        

    </div>
    </form>
</body>
</html>
