<%@ Page Language="C#" MasterPageFile="~/Master/officeMaster.master" AutoEventWireup="true" CodeFile="Member.aspx.cs" Inherits="AccountType_Member" Title="无标题页" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <table class="usertableborder" cellspacing="1"  cellpadding="3" width="100%" align="center"  border="0">
            <tr>
                <th>
                    成员</th>
            </tr>
   </table>
   <table class="usertableborder" cellspacing="1"  cellpadding="3" width="100%" align="center"  border="0">
        <tr>
            <td width="80%">
                <a style="cursor: pointer;" href="ExpenditureType.aspx">支出类型</a>&nbsp;&nbsp; 
                <a style="cursor: pointer;" href="IncomeType.aspx">收入类型</a>&nbsp;&nbsp;
                <a style="cursor: pointer;" href="Member.aspx">成员</a>&nbsp;&nbsp; 
                <a style="cursor: pointer;" href="ProjectType.aspx">项目</a>&nbsp;&nbsp;
                <a style="cursor: pointer;" href="Seller.aspx">商家/付款方</a>
            </td>
            <td><a href="MemberInfo.aspx" style="cursor:pointer;">新增</a></td>
        </tr>
    </table>
    <table  class="usertableborder" cellspacing="1"  cellpadding="3" width="100%" align="center"  border="1">
        <tr >
            <th width="30%">名称</th>
            <th>操作</th>  
        </tr>
        <asp:Repeater ID="rptMember" runat="server" 
            onitemcommand="rptMember_ItemCommand">
            <ItemTemplate>
                <tr align="center">
                    <td><%#Eval("MemberTypeName")%></td>
                    <td>
                        <asp:HiddenField ID="hdMemberTypeId" runat="server" Value='<%#Eval("MemberTypeId") %>' />
                        <a style="cursor:pointer;" href="MemberInfo.aspx?mtid=<%#Eval("MemberTypeId") %>">编辑</a>
                        <asp:LinkButton ID="lbtnDelete" runat="server" Text="删除" CommandName="delete" OnClientClick="return confirm('确认要删除吗？')"></asp:LinkButton>
                    </td>
                </tr>
            </ItemTemplate>
        </asp:Repeater>
    </table>
</asp:Content>
