<%@ Page Language="C#" AutoEventWireup="true" CodeFile="AddClientInfo.aspx.cs" Inherits="SystemManage_AddClientInfo" %>

<!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 runat="server">
    <title>无标题页</title>
     <script type="text/javascript">
    function bind1()
    {
        document.getElementById('type').value = document.getElementById('DropDownList1').value;
    }
    function bind2()
    {
        document.getElementById('area').value = document.getElementById('DropDownList2').value;
    }
    </script>
</head>
<body>
    <form id="form1" runat="server">
     <div align="center">
     <table align="center" border="1" bordercolordark="#003399" bordercolorlight="#ffffff"
                cellspacing="0" style="font-size: 12px; width: 412px; height: 219px">
                <tr>
                    <td align="center" bgcolor="#003399" colspan="2" style="color: white; height: 27px">
                        添加新客户</td>
                </tr>
                <tr>
                    <td align="right" style="width: 77px; text-align: right;">
						<asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ErrorMessage="客户名不能为空" ControlToValidate="name" Display="Dynamic">*
						</asp:RequiredFieldValidator>客户名：</td>
                    <td nowrap style="text-align: left">
                        <asp:TextBox ID="name" runat="server" Width="160px"></asp:TextBox></td>
                </tr>
                 <tr>
                 <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ErrorMessage="客户类型不能为空" ControlToValidate="type" Display="Dynamic">*
						</asp:RequiredFieldValidator><td align="right" style="width: 77px; text-align: right;">
                     客户类型：</td>
                    <td nowrap style="text-align: left">
                        <asp:TextBox ID="type" runat="server" Width="160px"></asp:TextBox>
                        <asp:DropDownList ID="DropDownList1" runat="server" Width="121px" AutoPostBack="True">
						</asp:DropDownList>
                        </td>
                </tr>
                 <tr>
                    <td align="right" style="width: 77px; text-align: right;">
                     客户区域：</td>
                     <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" ErrorMessage="客户区域不能为空" ControlToValidate="area" Display="Dynamic">*
						</asp:RequiredFieldValidator><td nowrap style="text-align: left">
                        <asp:TextBox ID="area" runat="server" Width="160px"></asp:TextBox>
                        <asp:DropDownList ID="DropDownList2" runat="server" Width="121px" AutoPostBack="True">
						</asp:DropDownList>
                        </td>  
                </tr>
                <tr>
                    <td align="right" style="width: 77px; text-align: right;">
                     手机：</td>
                    <td nowrap style="text-align: left">
                        <asp:TextBox ID="mobile" runat="server" Width="160px"></asp:TextBox></td>
                </tr>
                <tr>
                    <td align="right" style="width: 77px; text-align: right;">
                     地址：</td>
                    <td nowrap style="text-align: left">
                        <asp:TextBox ID="address" runat="server" Width="160px"></asp:TextBox></td>
                </tr>
                <tr>
                    <td align="right" style="width: 77px; text-align: right;">
                  备 &nbsp; 注：</td>
                    <td style="width: 100px">
                        <asp:TextBox ID="mome" runat="server" Width="160px"></asp:TextBox></td>
                </tr>
                <tr>
                    <td align="center" colspan="2">
                        <asp:Button ID="Button1" runat="server" OnClick="Button1_Click" Text="　添加　" />
                        <input id="Reset1" type="reset" value="　重置　" /></td>
                </tr>
            </table>
    </div>
    </form>
</body>
</html>
