<%@ Page Title="" Language="C#" MasterPageFile="~/BackStage/HelperMaster.Master" AutoEventWireup="true" CodeBehind="Frm_SelLodeBtype.aspx.cs" Inherits="AndroidSevice.Web.BackStage.XDGL.Frm_SelLodeBtype" %>
<%@ Register assembly="AspNetPager" namespace="Wuqi.Webdiyer" tagprefix="webdiyer" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <script type="text/javascript">
        function sAlert(info) {
            var message = info;
            layer.alert(message, 8); //风格一，layer弹出层特效
        }
        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="row-fluid">
                         <div class="span6" style="width:60%">
						<div class="widget-box">
							<div class="widget-title">
								<span class="icon">
									<i class="icon-arrow-right"></i>
								</span>
								<h5>线路信息</h5>
							</div>
							<div class="widget-content nopadding">
								<table id="wew" class="table table-bordered table-striped table-hover">
                                        <thead>
								            <tr>
									            <th style=" width:20px">序号</th>
									            <th>线路名称</th>
								            </tr>
							            </thead>
                                        <tbody>
                                        <%if (dtlodelist != null && dtlodelist.Rows.Count != 0)
                                      {
                                          for (int i = 0; i < dtlodelist.Rows.Count; i++)
                                          { %>
										<tr>
                                              <td style="width:25px"><%=i+1 %></td>
											<td><a href="Frm_SelLodeBtype.aspx?lodeid=<%=dtlodelist.Rows[i]["num"].ToString() %>&etypeid=<%=_etypeid%>&etypename=<%=_etypename%>&lodename=<%=dtlodelist.Rows[i]["fullname"].ToString()%>"><%=dtlodelist.Rows[i]["fullname"].ToString() %></a></td>
										</tr>
                                    <% }
                                      }%>
                                        </tbody>
					            </table>
							
                             <div class="pager">
                                <webdiyer:aspnetpager ID="AspNetPagerLode" runat="server" FirstPageText="首页"  LastPageText="尾页" 
                                    PrevPageText="上一页" NextPageText="下一页"  onpagechanging="AspNetPagerLode_PageChanging" PageSize="10" AlwaysShow="True" />
					        </div>
                            </div>
						</div>
                        <div class="span6" style="width:36%">
						<div class="widget-box">
							<div class="widget-title">
								<span class="icon">
									<i class="icon-arrow-right"></i>
								</span>
								<h5>客户线路&nbsp;&nbsp;(<%=_lodename %>)</h5>
							</div>
							<div class="widget-content nopadding">
                                <table id="Table1" class="table table-bordered table-striped table-hover">
                                    <thead>
								        <tr>
									        <th style=" width:20px">序号</th>
									        <th>客户名称</th>
                                            <th>地址</th>
								        </tr>
							        </thead>
                                    <tbody>
                                    <%if (dtuserlodelist != null && dtuserlodelist.Rows.Count != 0)
                                       {
                                           for (int i = 0; i < dtuserlodelist.Rows.Count; i++)
                                           { %>
										<tr>
                                             <td style="width:25px"><%=i+1 %></td>
											<td><a href="#"><%=dtuserlodelist.Rows[i]["FullName"].ToString()%></a></td>
											<td><a href="#"><%=dtuserlodelist.Rows[i]["Address"].ToString()%></a></td>
                                            <td><button type="button" onclick="window.location.href='Frm_SelLodeBtype.aspx?subdel=del&num=<%=dtuserlodelist.Rows[i]["num"].ToString() %>&etypeid=<%=_etypeid%>&etypename=<%=_etypename%>&lodeid=<%=_lodeid %>&lodename=<%=_lodename%>'" class="btn">删除</button></td>
										</tr>
                                        <%  }
                                       }%>
                                    </tbody>
					        </table>
                            <div class="pager">
                                <webdiyer:aspnetpager ID="AspNetPagerLodeuser" runat="server" FirstPageText="首页"  LastPageText="尾页" 
                                    PrevPageText="上一页" NextPageText="下一页"  onpagechanging="AspNetPagerLodeuser_PageChanging" PageSize="10" AlwaysShow="True" />
					        </div>
                            </div>
						</div>
                        
                        </div>
                    </div>
                    </div>
				</div>
			</div>
		</div>
	</div>
</asp:Content>