<%@ Page Language="C#" AutoEventWireup="true" CodeFile="country_list.aspx.cs" Inherits="etw_c_m_country_list" %>
<%@ Register Assembly="AspNetPager" Namespace="Wuqi.Webdiyer" TagPrefix="webdiyer" %>
<!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">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>无标题页</title>
<link rel="stylesheet" type="text/css" href="css.css" />
</head>
<body>
    <form id="Form1"  runat="server">
<div id="right">
        <div id="title"> &nbsp; 客户管理 >> 客户资料</div>
        <div id="con">     
       <div class="pagediv">
        <div  style="float: left; text-align: left; padding:0px; margin:0px;">
          &nbsp;<asp:TextBox ID="search" runat="server"></asp:TextBox>
          &nbsp;<asp:Button ID="Button1" runat="server" Text="查询" OnClick="Button1_Click" />
        </div>   
       <webdiyer:AspNetPager ID="Pager1" runat="server" HorizontalAlign="Center" 
      NumericButtonType="Text" PageSize="20"  ShowNavigationToolTip="false" 
      UrlPageIndexName="page" UrlPaging="True"  CssClass="pagerer" 
      ShowDisabledButtons="true" ShowInputBox="Never" SubmitButtonText="Go" 
      NumericButtonTextFormatString="{0}" FirstPageText="首页" LastPageText="尾页" 
      NextPageText="下一页" PrevPageText="上一页" 
      OnPageChanging="Pager1_PageChanging1" ShowPageIndexBox="Always" LayoutType="Table" TextAfterPageIndexBox="页" TextBeforePageIndexBox="转到"></webdiyer:AspNetPager>
       </div> 
           <table width="100%" border="1" class="tables" cellpadding="0" cellspacing="0" style="float:left;">
             <tr class="gren"> 
             <th width="40" >编号</th>
             <th width="159" >洲</th>
             <th width="246" >英文名称</th>
             <th width="115" >中文名称</th>
             <th width="110" >缩写</th> 
              <th width="56" >修改</th> 
             </tr>
         <asp:Repeater ID="Repeater1" runat="server" >
              <ItemTemplate>
             <tr>
               <td><%#Container.ItemIndex + 1 %></td>
              <td><%#Eval("name")%></td>
		      <td><%#Eval("country_en")%></td>
             <td><%#Eval("country_cn")%></td>
             <td> <%#Eval("shortname")%></td>
             <td><a href="addcountry.aspx?lid=<%#Eval("id")%>&action=edit">修改</a></td>
          </tr>
         </ItemTemplate>
      </asp:Repeater>    
   </table>
<div class="pagediv">
      <webdiyer:AspNetPager ID="Pager2" runat="server" HorizontalAlign="Center" 
      NumericButtonType="Text" PageSize="20"  ShowNavigationToolTip="false" 
      UrlPageIndexName="page" UrlPaging="True"  CssClass="pagerer" 
      ShowDisabledButtons="true" ShowInputBox="Never" SubmitButtonText="Go" 
      NumericButtonTextFormatString="{0}" FirstPageText="首页" LastPageText="尾页" 
      NextPageText="下一页" PrevPageText="上一页" 
      OnPageChanging="Pager1_PageChanging1" ShowPageIndexBox="Always" LayoutType="Table" TextAfterPageIndexBox="页" TextBeforePageIndexBox="转到"></webdiyer:AspNetPager>
    </div>
        </div>
    </div>
 </form>
</body>
</html>
