<%@ Page Title="" Language="C#" MasterPageFile="~/BackStage/HelperMaster.Master" AutoEventWireup="true" CodeBehind="Frm_ListTimeEdit.aspx.cs" Inherits="AndroidSevice.Web.WLTGL.Frm_ListTimeEdit" %>
<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 sAlerts(info, reltype) {
           var message = info;
           var realtype = reltype
           layer.alert(message, 8); //风格一，layer弹出层特效
           if (realtype == 'true') {
               parent.location.reload(); //刷新父页面
           }
       }
       function sAlertok(info) {
           layer.alert(info, { closeBtn: 0
           }, function () {
               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>用户选择</h5>
							</div>
							<div class="widget-content">
                           
                             
                          
                             <table id="Table1" class="table table-bordered table-striped table-hover">
                                    <thead>
										<tr>
											<th> 编号： <input type="text" name="usercode" id="usercode" value=""/></th>
											<th> 名称： <input type="text" name="username" id="username" value=""/></th>
                                            <th> <button type="submit" name="sub" value="search" class="btn" ><i class="icon-search"></i>查询</button></th>
										</tr>
									</thead>
							</table>
                             <table id="wew" class="table table-bordered table-striped table-hover">
                                    <thead>
										<tr>
											<th>选择</th>
											<th>编号</th>
                                            <th>名称</th>
										</tr>
									</thead>
                                    <tbody>
                                    <% 
                                        if (dtlist != null||dtlist.Rows.Count!=0)
                                        {
                                            for (int i = 0; i < dtlist.Rows.Count;i++)
                                            {
                                    %>
                                    <tr>
                                              <td><input type="checkbox" 
                                                <% if(_cbradios.Contains(","+dtlist.Rows[i]["loginid"].ToString()+","))
                                                {%>  checked<%} %> value=<%=dtlist.Rows[i]["loginid"].ToString()+":"+dtlist.Rows[i]["loginname"].ToString() %> name="usercheck" /></td>
											<%--<td><input type="checkbox" value=<%=dtlist.Rows[i]["loginid"].ToString()+":"+dtlist.Rows[i]["loginname"].ToString() %> name="usercheck" /></td>--%>
                                            <td><%=dtlist.Rows[i]["loginid"].ToString() %></td>
                                            <td><%=dtlist.Rows[i]["loginname"].ToString()%></td>
									</tr>
                                    <% 
                                            }
                                        }
                                    %>
                                    </tbody>
							</table>
                            <div style="text-align:center"><button type="submit" name="sub" value="sub" class="btn" ><i class="icon-hdd"></i>保存</button></div>
                             
                             </div>
							</div>
						</div>
					</div>
				</div>
</asp:Content>
