<%@ Page Title="" Language="C#" MasterPageFile="~/BackStage/HelperMaster.Master" AutoEventWireup="true" CodeBehind="Frm_BtypeLodeEdit.aspx.cs" Inherits="AndroidSevice.Web.XDGL.Frm_BtypeLodeEdit" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <script type="text/javascript">
    function sAlert(info) {
        var message = info;
        layer.alert(message, 8); //风格一，layer弹出层特效
        parent.location.reload(); //刷新父页面
    }
    function sAlertOut(info) {
        layer.alert(info, { closeBtn: 0
        }, function () {
            window.location.href = '../../default.aspx'; //刷新父页面
        });
    }
    </script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <div class="container-fluid">
				<div class="row-fluid">
					<div class="span12">
						<div class="widget-box">
							<div class="widget-title">
								<span class="icon">
									<i class="icon-th-list"></i>
								</span>
								<h5>
				<a href="#" class="current">线路新增</a></h5>
							</div>
							<div class="widget-content">
                             <div class="control-group" id="div1" runat="server">
                                        <label class="control-label">业务员：</label>
                                        <div class="controls">
                                        <select class="selectstyle" name="empory" id="empory">
                                        <%if (dtuserlist != null && dtuserlist.Rows.Count > 0)
                                          {
                                              for (int i = 0; i < dtuserlist.Rows.Count;i++)
                                              {
                                             %>
				                                <option <%=dtuserlist.Rows[i]["TypeID_"].ToString()==_empory?"selected":"" %>  value=<%=dtuserlist.Rows[i]["TypeID_"].ToString() %>><%=dtuserlist.Rows[i]["FullName"].ToString() %></option>
                                        <%  }
                                          } %>
				                        </select>
                                        </div>
                             </div>
                             <div class="control-group" id="div2" runat="server">
                                        <label class="control-label">线路名称：</label>
                                        <div class="controls">
                                            <input type="text" name="lodename" id="lodename" value="<%=_lodename %>"/>
                                        </div>
                             </div>
                             <div class="control-group" id="div_cmarks" runat="server">
                                  <label class="control-label">线路备注：</label>
                                  <div class="controls">
                                  <textarea name="cmarks" id="cmarks" cols="100" rows="5"><%=_cmarks%></textarea>
                             </div>
                             </div>
                             <div class="form-actions" style="text-align:center">
                                  <input type="submit" id="sub" name="sub" value="提交" class="btn" />
                                  <input id="HPage" name="HPage" value="thispage" type="hidden" />
                             </div>
							</div>
						</div>
					</div>
				</div>
			</div>
</asp:Content>
