<%@ Control Language="C#" AutoEventWireup="true" CodeFile="ENControl.ascx.cs" Inherits="MkSun.Ke_System.EN_ENControl" %>
<table style="width: 100%">
 <tr>
    <td >
          <asp:GridView ID="myGridView" runat="server" AutoGenerateColumns="False"
            BorderStyle="None" Width="100%" GridLines="None" HorizontalAlign="Left"   HeaderStyle-HorizontalAlign="Left" ShowHeader="False">
                <Columns>
                    <asp:TemplateField>
                        <ItemTemplate>
             <table width="90%" border="0" align="center" cellpadding="0" cellspacing="0">
              <tr>
                <td width="8%" class="td02" style="height: 23px"><img src="../images/line.gif" width="25" height="20" /></td>
                <td width="58%" class="td02" style="height: 23px"><a href="ShowNews.aspx?ID=<%#Eval("NewsID") %>"><%#GetStr(Eval("Title").ToString(),30) %></a></td>
                <td width="34%" class="td03"align="right" style="height: 23px"><%#Eval("addtime").ToString().Split(' ')[0].ToString()%></td>
              </tr>
            </table>
                        </ItemTemplate>
                    </asp:TemplateField>
                </Columns>
        </asp:GridView>
      </td>
   </tr>
    <tr>
      <td >
       <table align="center" cellpadding="3" cellspacing="2">
        <tr>
          <td style="height: 24px"> All Records<asp:Label ID="LabelRecordCount" runat="server" >0</asp:Label></td>
          <td style="height: 24px"></td>
          <td style="height: 24px">Current Page<asp:Label ID="LabelPageCurrent" runat="server" Text="0" ></asp:Label></td>
          <td style="height: 24px">
              All Page</td>
          <td style="height: 24px"><asp:Label ID="LabelPageCount" runat="server" >0</asp:Label>
          <td style="height: 24px"><asp:LinkButton ID="btnPageFirst" runat="server" OnClick="btnPageFirst_Click"  >FRIST</asp:LinkButton>
          <td style="height: 24px"><asp:LinkButton ID="btnPageNext" runat="server" OnClick="btnNext_Click" >NEXT</asp:LinkButton>
          <td style="height: 24px"><asp:LinkButton ID="btnPagePre" runat="server" OnClick="btnPre_Click"  >Prov</asp:LinkButton>
          <td style="height: 24px"><asp:LinkButton ID="btnPageLast" runat="server" OnClick="btnLast_Click" >LAST</asp:LinkButton>
          <td style="height: 24px">
              GO</td> 
          <td style="width: 85px; height: 24px"><asp:DropDownList ID="DropDownListPage" runat="server" AutoPostBack="True" OnSelectedIndexChanged="DropDownListPage_SelectedIndexChanged">
              </asp:DropDownList>Page
          </td>
      </tr>
    </table>
        </td>
    </tr>
</table>

