<%@ Control Language="C#" AutoEventWireup="true" CodeFile="topnews.ascx.cs" Inherits="topnews" %>
<link href="mycss.css" rel="stylesheet" type="text/css" />
<table cellpadding="0" cellspacing="0" style="width: 312px">
    <tr>
        <td align="center" class="boldtitle" 
            style="width: 312px; height: 44px; background-image: url('Images/hotnew.GIF');" 
            valign="middle">
            &nbsp;</td>
    </tr>
    <tr>
        <td align="center" style="background-image: url('Images/hotmid.GIF')" 
            valign="top">
            <asp:GridView  ID="gdvnews" runat="server" AutoGenerateColumns="False" 
                ShowHeader="False" onrowdatabound="gdvnews_RowDataBound" Width="93%" 
                BorderWidth="0px" GridLines="None">
                <RowStyle BorderStyle="None" />
                <Columns>
                    <asp:TemplateField>
                        <ItemTemplate>
                        <img alt="" src="Images/tb.gif" />
                            <asp:HyperLink ID="HyperLink1" runat="server" 
                                NavigateUrl='<%# Eval("nid", "newdetail.aspx?nid={0}") %>' 
                                Text='<%# Eval("ntitle") %>' Target="_blank" ToolTip='<%# Eval("ntitle") %>'></asp:HyperLink>
                        <asp:Label ID="Label1" runat="server" 
                                Text='<%# Bind("ndate", "{0:yy/MM/dd}") %>' 
                                style="color: #999999; font-size: smaller"></asp:Label></ItemTemplate>
                        <ItemStyle Height="30px" HorizontalAlign="Left" VerticalAlign="Middle" />
                    </asp:TemplateField>
                </Columns>
            </asp:GridView>
        </td>
    </tr>
    <tr>
        <td align="center" valign="top">
            <img alt="" src="Images/hotbut.gif" style="width: 312px; height: 5px" /></td>
    </tr>
</table>
