<%@ page language="C#" autoeventwireup="true" inherits="Admin_Address_List, ShopNum1Deploy" %>

<%@ Register assembly="ShopNum1.Control" namespace="ShopNum1.Control" tagprefix="cc1" %>

<!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">
    <title>Untitled Page</title>
        <link type="text/css" rel="Stylesheet" href="css/index.css" /> 
<script type="text/javascript" language="javascript" src="../js/CommonJS.js"></script>
</head>
<body style="padding:0; background-image: url(images/Bg_right.gif); background-repeat:repeat;">
    <form id="form1" runat="server">
      <div class="navigator">【 查看收货地址  】</div>
   <table  style="width:100%">
                    <tr>
                        <td  width="20%">
                        <div class="query" style="padding-left:10px">
                        <asp:Label ID="LabelMemberLoginID" runat="server" Text="当前会员用户名："></asp:Label>
                    &nbsp;<asp:Label ID="LabelMemberLoginIDValue" runat="server"></asp:Label>
&nbsp;&nbsp;
                        <asp:Label ID="LabelRealName" runat="server" Text="当前会员姓名："></asp:Label>
                            <asp:Label ID="LabelRealNameValue" runat="server"></asp:Label></div>
                        </td>
                    </tr>
                    <tr>
                        <td align="left">
            <cc1:Num1GridView ID="Num1GridViewShow" runat="server" 
                AutoGenerateColumns="False" 
                AllowPaging="True" AllowSorting="True" AscendingImageUrl="~/images/SortAsc.gif" 
                DescendingImageUrl="~/images/SortDesc.gif" Width="100%" AddSequenceColumn="False" 
                                AllowMultiColumnSorting="False" BorderColor="#CCDDEF" BorderStyle="Solid" 
                                BorderWidth="1px" CellPadding="4" Del="False" DeletePromptText="确实要删除指定的记录吗？" 
                                Edit="False" FixHeader="False" GridViewSortDirection="Ascending" 
                                PagingStyle="None" style="margin-left: 2px;" TableName="" 
                                Font-Size="Small" DataSourceID="ObjectDataSourceData">          
<HeaderStyle HorizontalAlign="Center" BackColor="#6699CC" Font-Bold="True" ForeColor="#FFFFFF"></HeaderStyle>

<PagerStyle HorizontalAlign="Left" BackColor="#EEEEEE" ForeColor="#6699CC"></PagerStyle>
                <Columns>
                    <asp:BoundField DataField="Guid" HeaderText="Guid" Visible="False" >
                        <ItemStyle Height="25px" />
                    </asp:BoundField>
                    <asp:BoundField DataField="Name" HeaderText="收货人姓名" SortExpression="Name" />
                    <asp:BoundField DataField="Email" HeaderText="电子邮箱" 
                        SortExpression="Email" />
                    <asp:BoundField DataField="Address" HeaderText="详细地址" 
                        SortExpression="Address"></asp:BoundField>
                    <asp:BoundField DataField="Postalcode" HeaderText="邮政编码" 
                        SortExpression="Postalcode"></asp:BoundField>
                    <asp:BoundField DataField="Tel" HeaderText="电话号码" 
                        SortExpression="Tel"></asp:BoundField>
                    <asp:BoundField HeaderText="手机号码" DataField="Mobile" SortExpression="Mobile"></asp:BoundField>
                    <asp:TemplateField HeaderText="是否默认" SortExpression="IsDefault">
                        <ItemTemplate>
                            <asp:Label ID="Label1" runat="server" Text='<%# ChangeIsDefault(DataBinder.Eval(Container, "DataItem(IsDefault)","{0}")) %>'></asp:Label>
                        </ItemTemplate>
                    </asp:TemplateField>
                </Columns>
            </cc1:Num1GridView>
                        </td>
                    </tr>
                       <tr>
                        <td align="left">
                            &nbsp;&nbsp;</td>                    
                    </tr>
</table>
    <asp:ObjectDataSource ID="ObjectDataSourceData" runat="server" 
        SelectMethod="Search" TypeName="ShopNum1.BusinessLogic.ShopNum1_Address_Action" 
        >
        <SelectParameters>
            <asp:ControlParameter ControlID="LabelMemberLoginIDValue" Name="memberLoginID" 
                PropertyName="Text" Type="String" />
            <asp:Parameter Name="IsDeleted" Type="Int32" DefaultValue="0" />
        </SelectParameters>
       
    </asp:ObjectDataSource>
    <asp:HiddenField ID="hiddenGuid" runat="server" Value="0" />
    </form>
</body>
</html>