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

<%@ 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>查看收货地址</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" ><ItemStyle HorizontalAlign="Center" /></asp:BoundField>
                        <asp:BoundField DataField="Email" HeaderText="电子邮箱" SortExpression="Email" ><ItemStyle HorizontalAlign="Center" /></asp:BoundField>
                        <asp:BoundField DataField="Address" HeaderText="详细地址" SortExpression="Address"><ItemStyle HorizontalAlign="Center" /></asp:BoundField>
                        <asp:BoundField DataField="Postalcode" HeaderText="邮政编码" SortExpression="Postalcode"><ItemStyle HorizontalAlign="Center" /></asp:BoundField>
                        <asp:BoundField DataField="Tel" HeaderText="电话号码" SortExpression="Tel"><ItemStyle HorizontalAlign="Center" /></asp:BoundField>
                        <asp:BoundField HeaderText="手机号码" DataField="Mobile" SortExpression="Mobile"><ItemStyle HorizontalAlign="Center" /></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>
                            <ItemStyle HorizontalAlign ="Center" />
                        </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="GroupFlyTG.BusinessLogic.GroupFlyTG_Address_Action" OldValuesParameterFormatString="original_{0}">
        <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>
