<%@ page language="C#" autoeventwireup="true" inherits="SB_admin_N47_Customer_N47_Customer_Insert, App_Web_sochs4jr" %>

<!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>
    <script type="text/javascript" language="javascript" src="<%=ResolveUrl("~/SB/control/easy_ui/jquery.min.js?v=1")%>"></script>
    <link rel="stylesheet" type="text/css" href="<%=ResolveUrl("~/SB/control/css/main.css?v=1")%>" />
</head>
<body>
    <h3>
        新增客户</h3>
    <form id="form1" runat="server">
        <div>
            <!-- Add.aspx -->
            <table cellspacing="0" cellpadding="0" width="100%" border="0">
                <tr>
                    <td height="25" align="right" style="width: 128px">
                        客户名称<span>*</span>：</td>
                    <td height="25" align="left">
                        <asp:TextBox ID="txtc_name" runat="server" MaxLength="50" Width="60%"></asp:TextBox>
                        <asp:RequiredFieldValidator ID="rfvc_name" runat="server" ErrorMessage="请填写客户名称"
                            ControlToValidate="txtc_name"></asp:RequiredFieldValidator>
                    </td>
                </tr>
                <tr>
                    <td height="25" align="right" style="width: 128px">
                        联系人<span>*</span>：</td>
                    <td height="25" align="left">
                        <asp:TextBox ID="txtc_linkman" runat="server" MaxLength="50" Width="60%"></asp:TextBox>
                        <asp:RequiredFieldValidator ID="rfvc_linkman" runat="server" ErrorMessage="请填写联系人"
                            ControlToValidate="txtc_linkman"></asp:RequiredFieldValidator>
                    </td>
                </tr>
                <tr>
                    <td height="25" align="right" style="width: 128px">
                        电话号码<span>*</span>：</td>
                    <td height="25" align="left">
                        <asp:TextBox ID="txtc_tel" runat="server" MaxLength="12" Width="60%"></asp:TextBox>
                        <asp:RequiredFieldValidator ID="rfvc_tel" runat="server" ErrorMessage="请填写电话号码" ControlToValidate="txtc_tel"></asp:RequiredFieldValidator>
                    </td>
                </tr>
                <tr>
                    <td height="25" align="right" style="width: 128px">
                        QQ<span>*</span>：</td>
                    <td height="25" align="left">
                        <asp:TextBox ID="txtc_qq" runat="server" MaxLength="50" Width="60%"></asp:TextBox>
                        <asp:RequiredFieldValidator ID="rfvc_qq" runat="server" ErrorMessage="请填写QQ" ControlToValidate="txtc_qq"></asp:RequiredFieldValidator>
                    </td>
                </tr>
                <tr>
                    <td height="25" align="right" style="width: 128px">
                        其他联系方式<span>*</span>：</td>
                    <td height="25" align="left">
                        <asp:TextBox ID="txtc_contact" runat="server" MaxLength="50" Width="60%"></asp:TextBox>
                        <asp:RequiredFieldValidator ID="rfvc_contact" runat="server" ErrorMessage="请填写其他联系方式"
                            ControlToValidate="txtc_contact"></asp:RequiredFieldValidator>
                    </td>
                </tr>
                <tr>
                    <td align="right" height="25" style="width: 128px">
                        地址：</td>
                    <td align="left" height="25">
                        <asp:TextBox ID="txtc_address" runat="server"  Width="60%" MaxLength="100"></asp:TextBox></td>
                </tr>
                <tr>
                    <td height="25" align="right" style="width: 128px">
                        备注<span>*</span>：</td>
                    <td height="25" align="left">
                        <asp:TextBox ID="txtc_note" runat="server" MaxLength="50" Width="60%" Rows="3" TextMode="MultiLine"></asp:TextBox>
                        <asp:RequiredFieldValidator ID="rfvc_note" runat="server" ErrorMessage="请填写备注" ControlToValidate="txtc_note"></asp:RequiredFieldValidator>
                    </td>
                </tr>
                <tr>
                    <td style="width: 128px">
                    </td>
                    <td>
                        <asp:Button ID="btnSubmit" runat="server" Text="保存" Width="80px" OnClick="btnSubmit_Click" />
                        <asp:Button ID="btnClose" runat="server" Text="保存并关闭" OnClick="btnClose_Click" />
                    </td>
                </tr>
            </table>
        </div>
    </form>
</body>
</html>
