<%@ Page Language="C#" MasterPageFile="~/Admin/Admin.Master" AutoEventWireup="true" CodeBehind="Shippers.aspx.cs" Inherits="Hidistro.UI.Web.Admin.Shippers" Title="无标题页" %>
<%@ Register TagPrefix="UI" Namespace="ASPNET.WebControls" Assembly="ASPNET.WebControls" %>
<%@ Register TagPrefix="Hi" Namespace="Hidistro.UI.Common.Controls" Assembly="Hidistro.UI.Common.Controls" %>
<asp:Content ID="Content1" ContentPlaceHolderID="headHolder" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="contentHolder" runat="server">

	<!--选项卡-->
	<div class="dataarea mainwidth databody">
			  <div class="title">
		  <em><img src="../images/03.gif" width="32" height="32" /></em>
          <h1><strong>发货人信息管理</strong></h1>
          <span>发货信息方便打印快递单时用来选择</span>
	</div>
		<!--搜索-->
		<!--数据列表区域-->
	  <div class="datalist">
     <UI:Grid ID="grdShippers" runat="server" ShowHeader="true" AutoGenerateColumns="false" DataKeyNames="ShipperId" HeaderStyle-CssClass="table_title" GridLines="None" Width="100%">
            <Columns>   
                <asp:TemplateField HeaderText="发货点名称"  HeaderStyle-CssClass="td_right td_left">
                   <ItemTemplate>
                      <asp:Literal id="lblShipperTag" runat="server" Text='<%#Eval("ShipperTag") %>'></asp:Literal>
                   </ItemTemplate>
                </asp:TemplateField>   
                <UI:YesNoImageColumn DataField="IsDefault" HeaderText="默认发货信息" HeaderStyle-Width="16%" HeaderStyle-CssClass="td_right td_left" />
                <asp:TemplateField HeaderText="发货人姓名"  HeaderStyle-CssClass="td_right td_left">
                   <ItemTemplate>&nbsp;
                      <asp:Literal id="lblShipperName" runat="server" Text='<%#Eval("ShipperName") %>'></asp:Literal>
                   </ItemTemplate>
                </asp:TemplateField>  
                <asp:TemplateField HeaderText="地址"  HeaderStyle-CssClass="td_right td_left">
                   <ItemTemplate>&nbsp;
                      <asp:Literal id="lblAddress" runat="server" Text='<%#Eval("Address") %>'></asp:Literal>
                   </ItemTemplate>
                </asp:TemplateField>  
                <asp:TemplateField HeaderText="邮编"  HeaderStyle-CssClass="td_right td_left">
                   <ItemTemplate>&nbsp;
                      <asp:Literal id="lblZipcode" runat="server" Text='<%#Eval("Zipcode") %>'></asp:Literal>
                   </ItemTemplate>
                </asp:TemplateField>     
                <asp:TemplateField HeaderText="手机"  HeaderStyle-CssClass="td_right td_left">
                   <ItemTemplate>&nbsp;
                      <asp:Literal id="lblCellPhone" runat="server" Text='<%#Eval("CellPhone") %>'></asp:Literal>
                   </ItemTemplate>
                </asp:TemplateField>
                <asp:TemplateField HeaderText="电话"  HeaderStyle-CssClass="td_right td_left">
                   <ItemTemplate>&nbsp;
                      <asp:Literal id="lblTelPhone" runat="server" Text='<%#Eval("TelPhone") %>'></asp:Literal>
                   </ItemTemplate>
                </asp:TemplateField>                                                    
                <asp:TemplateField HeaderText="操作" ItemStyle-Width="20%" HeaderStyle-CssClass="td_left td_right_fff">
                    <ItemTemplate>&nbsp;
                    <span class="submit_bianji"><a href='<%# "EditShipper.aspx?ShipperId=" + Eval("ShipperId")%> '>编辑</a></span>
                    <span class="submit_shanchu"><Hi:ImageLinkButton ID="lkDelete" Text="删除" IsShow="true"  CommandName="Delete" runat="server" /></span></span>                      
                    </ItemTemplate>
                </asp:TemplateField>
            </Columns>
        </UI:Grid>
      <div class="blank5 clearfix"></div>
	  </div>
	</div>
	<div class="databottom"></div>
<div class="bottomarea testArea">
  <!--顶部logo区域-->
</div> 
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="validateHolder" runat="server">
</asp:Content>
