<%@ Page Title="" Language="C#" MasterPageFile="~/Master/officeMaster.master" AutoEventWireup="true" CodeFile="BankInfo.aspx.cs" Inherits="Account_BankInfo" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
    <script>
        function CheckEmpty() {
            var bankname = $("#<%=txtBankName.ClientID %>")[0];
            if (bankname.value == '') {
                alert('银行名不能为空！')
                bankname.focus();
                return false;
            }
            return true;
        }
    </script>
    
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    <table class="usertableborder" cellspacing="0"  cellpadding="3" width="100%" align="center" >
         <tr>
              <th colspan="2">银行信息</th>
         </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="txtBankName" runat="server"></asp:TextBox></td></tr>
         <tr>
            <td align="center" colspan="2"><asp:Button ID="btnSubmit" runat="server" Text="提 交" Width="72" BackColor="#CCCCCC"  onclick="btnSubmit_Click" OnClientClick="return CheckEmpty();" />&nbsp;&nbsp;
                    <asp:Button ID="btnCancel" runat="server" Text="返 回" Width="72" BackColor="#CCCCCC"  onclick="btnCancel_Click" />
            </td>
         </tr>
    </table>
</asp:Content>
