<%@ page language="C#" autoeventwireup="true" inherits="admin_Company_Company_Edit, ALL" enableEventValidation="false" %>

<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <meta name="viewport" content="width=device-width, initial-scale=1" />
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>会议室预约系统</title>
    <link href="/control/plugin/bootstrap3/css/bootstrap.min.css" rel="stylesheet" />
    <script src="/control/js/jquery.js"></script>
    <script src="/control/plugin/bootstrap3/js/bootstrap.min.js"></script>
</head>
<body>
    <div class="container-fluid">
        <div class="row">
            <div class="col-xs-12">
                <form id="from1" runat="server">
                    <!-- Add.aspx -->
                    <div class="form-group">
                        <label class=" control-label">单位名称<span class='rd'>*</span>：<asp:RequiredFieldValidator ID="rfvcy_name" runat="server" ForeColor="Red" ErrorMessage="请填写单位名称" ControlToValidate="txtcy_name"></asp:RequiredFieldValidator></label>
                        <asp:TextBox ID="txtcy_name" runat="server" MaxLength="255" CssClass="form-control"></asp:TextBox>
                    </div>
                    <div class="form-group">
                        <label class=" control-label">单位地址<span class='rd'>*</span>：<asp:RequiredFieldValidator ID="rfvcy_address" runat="server" ForeColor="Red" ErrorMessage="请填写单位地址" ControlToValidate="txtcy_address"></asp:RequiredFieldValidator></label>
                        <asp:TextBox ID="txtcy_address" runat="server" MaxLength="50" CssClass="form-control"></asp:TextBox>
                    </div>
                    <div class="form-group">
                        <label class=" control-label">单位备注：</label>
                        <asp:TextBox ID="txtcy_note" runat="server" MaxLength="50" CssClass="form-control"></asp:TextBox>
                    </div>

                    <div class="form-group">

                        <asp:Button ID="btnSubmit" runat="server" Text="添加单位" CssClass="btn btn-block btn-primary" OnClick="btnSubmit_Click" />

                    </div>
                </form>
            </div>
        </div>
    </div>
    <script type="text/javascript">        $(function () { window.parent.ShowDialog(); });    </script>
</body>
</html>
