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

<!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>
    <style type="text/css">

table
{
    border-collapse:collapse; 
    border-spacing:0;
    border:none;
    overflow:hidden;
}
body,table,td,A:Link,A:Visited
{
	font-family: "宋体";
    font-size: 9pt;
    color: #333333;
    overflow:auto;
    line-height: 22px;
    text-decoration: none;
    padding: 0; 
    margin:0  auto;
    overflow:inherit;
}
    </style>
</head>
<body>
    <form id="form1" runat="server">
    <div>
    
    <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" 
        AllowPaging="True" CellPadding="4" ForeColor="#333333" GridLines="None" 
        onpageindexchanging="GridView1_PageIndexChanging" PageSize="8" 
        ShowHeader="False" Width="96%" onrowdatabound="GridView1_RowDataBound" 
            onrowdeleting="GridView1_RowDeleting">
        <RowStyle BackColor="#E3EAEB" />
        <Columns>
            <asp:TemplateField>
                <EditItemTemplate>
                    <asp:TextBox ID="TextBox1" runat="server"></asp:TextBox>
                </EditItemTemplate>
                <ItemTemplate>
                    <asp:Label ID="Label1" runat="server">*</asp:Label>
                </ItemTemplate>
                <ItemStyle Height="32px" Width="30px" />
            </asp:TemplateField>
            <asp:TemplateField>
                <ItemTemplate>
                    <asp:HyperLink ID="hplnews" runat="server" 
                        NavigateUrl='<%# Eval("nid", "newdetail.aspx?nid={0}") %>' 
                        Text='<%# Eval("ntitle") %>' ToolTip='<%# Eval("ntitle") %>'></asp:HyperLink>
                    <asp:Label ID="lbldate" runat="server" ForeColor="#999999" Text='<%# Eval("ndate") %>'></asp:Label>
                </ItemTemplate>
                <ItemStyle HorizontalAlign="Left" />
            </asp:TemplateField>
            <asp:CommandField ShowDeleteButton="True" />
        </Columns>
        <FooterStyle BackColor="#1C5E55" Font-Bold="True" ForeColor="White" />
        <PagerStyle BackColor="#666666" ForeColor="White" HorizontalAlign="Center" />
        <SelectedRowStyle BackColor="#C5BBAF" Font-Bold="True" ForeColor="#333333" />
        <HeaderStyle BackColor="#1C5E55" Font-Bold="True" ForeColor="White" />
        <EditRowStyle BackColor="#7C6F57" />
        <AlternatingRowStyle BackColor="White" />
    </asp:GridView>
    
    </div>
    </form>
</body>
</html>
