<%@ Page Language="C#" MasterPageFile="~/mypage.master" AutoEventWireup="true" CodeFile="news.aspx.cs" Inherits="news" Title="无标题页" %>

<%@ Register src="aboutme.ascx" tagname="aboutme" tagprefix="uc1" %>
<%@ Register src="newvote.ascx" tagname="newvote" tagprefix="uc2" %>

<asp:Content ID="Content1" ContentPlaceHolderID="cphleft" Runat="Server">
    <uc2:newvote ID="newvote1" runat="server" />
    <uc1:aboutme ID="aboutme1" runat="server" />
    </asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="cphmain" Runat="Server">
    <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%">
        <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>
        </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>
</asp:Content>

