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

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server">

    <script language="javascript" type="text/javascript">
        function CheckEmpty(){
            var MemberName=$("#<%=txtMember.ClientID %>")[0];//成员名
            if(MemberName.value==''){
                alert('成员名称不能为空！');
                MemberName.focus();
                return false;
            }
            return true;
//            //选择是否要提交
//            if(confirm('确定要提交吗？')){
//                return true;
//            }
//            else{
//                return false;
//            }
        }   
    </script>

</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>
                <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>
        </tr>
    </table>
    <br />
    <table class="usertableborder" cellspacing="1" cellpadding="3" width="100%" align="center">
        <tr>
            <td width="48%" class="alignright">
                成员名称：
            </td>
            <td>
                <asp:TextBox ID="txtMember" runat="server"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td align="center" colspan="2">
                <asp:Button ID="btnSubmit" runat="server" Text="提交" OnClientClick="return CheckEmpty();"
                    OnClick="btnSubmit_Click" />&nbsp;&nbsp;
                <asp:Button ID="btnCancel" runat="server" Text="取消" OnClientClick="return confirm('确定取消吗?');"
                    OnClick="btnCancel_Click" />
            </td>
        </tr>
    </table>
</asp:Content>
