<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="login_rllist.aspx.cs" Inherits="Web.rl.admin.login_rllist" %>

<!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>
    <link href="../../css/admincss/skin.css" rel="stylesheet" type="text/css" />
            <script type="text/javascript" src="../../css/popcalendar.js"></script>
</head>
<body>
     <form id="form1" runat="server" >
<div>
<table width="100%" border="0" cellpadding="0" cellspacing="0">
  <tr>
        <td   class ="top_bg_left "></td>
    <td  class ="top_bg_center " >
    <table style ="width :100%; height :31"  border="0" cellpadding="0" cellspacing="0" class="left_topbg" id="table2">
      <tr>
      
<!--这里写页标题 -->
        <td style ="height :31px"><div class="titlebt">信息查询</div></td>
      </tr>
    </table>
    </td> 
    <td class ="top_bg_right "></td>
  </tr>
  <tr>
    <td style ="background :url(../../css/admincss/images/mail_leftbg.gif); vertical-align :middle " >&nbsp;</td>
    <td style ="background-color :#F7F8F9; vertical-align :top " >
    <div style ="margin-bottom :10px; margin-top :10px; text-align :right "> <asp:Button ID="idUpdate" runat="server" onclick="idUpdate_Click" Text="数据同步" /></div>

<!--  一组内容模块开始   --> 
    <table class ="tablezong"  border="0"  cellpadding="0" cellspacing="0">
      <tr>
        <td style ="height :40px" >
        <table  class="tablebiaoti" border="0" cellpadding="0" cellspacing="0" >
          <tr>
            <td><div class ="biaotileft ">信息查询</div>
            <div class ="biaotiright ">
                                            <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" 
                                                ControlToValidate="tbNum" Display="Dynamic" ErrorMessage="行数不能为空。" 
                                                ValidationGroup="Inquires" ForeColor="Red"></asp:RequiredFieldValidator>
                                            <asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" 
                                                ControlToValidate="tbNum" Display="Dynamic" ErrorMessage="请输入大于0的整数。" 
                                                ValidationExpression="^\+?[1-9][0-9]*$" ToolTip="RowNum" 
                                                ValidationGroup="Inquires" ForeColor="Red"></asp:RegularExpressionValidator>
                                            每页显示行数：<asp:TextBox ID="tbNum" runat="server" 
                    Width="44px" MaxLength="4">20</asp:TextBox>
                &nbsp;
                <asp:Button ID="btnQuery" runat="server" onclick="btnQuery_Click" Text="确定" ToolTip="RowNum" 
                                                ValidationGroup="Inquires" /></div> 
                                           
                                        </td>
          </tr>
        </table>
        </td>
      </tr>
      <tr>
        <td>
        
         <div >
          部门：<asp:DropDownList ID="ddlDepartment" runat="server">
             </asp:DropDownList>
             &nbsp;职工号、身份证号或姓名：<asp:TextBox ID="tbStaff" runat="server"></asp:TextBox>
             &nbsp;&nbsp;
        &nbsp;&nbsp;
       <asp:Button ID="btQuery1" runat="server" onclick="btnQuery_Click" Text="提交查询" ValidationGroup="Inquires" />
             &nbsp;&nbsp;
            <asp:Label ID="lbRowscountview" runat="server" ForeColor="Red"></asp:Label>
        <asp:RegularExpressionValidator ID="RegularExpressionValidator4" runat="server" 
            ControlToValidate="tbStaff" Display="Dynamic" ErrorMessage="输入的证件号或姓名不对！" 
            ValidationExpression="^[^%&gt;&lt;'&amp;*=!&quot;?]{0,25}$" 
                 ValidationGroup="Inquires" ForeColor="Red"></asp:RegularExpressionValidator>



        <div style ="margin-bottom :6px; margin-top :6px">
        <asp:GridView ID="GridView1" runat="server" BorderWidth="1px" 
                onrowdatabound="GridView1_RowDataBound" Width="100%" CssClass="gv" 
                cellspacing="1" AutoGenerateColumns="False" 
                onselectedindexchanging="GridView1_SelectedIndexChanging" 
                onrowediting="GridView1_RowEditing" onrowcreated="GridView1_RowCreated">
            <RowStyle HorizontalAlign="Center" VerticalAlign="Middle" BorderWidth="1px" 
                CssClass="gvrow" />
                <Columns>
                <asp:BoundField DataField="id" HeaderText="序号" ReadOnly="True" />
                <asp:BoundField DataField="A1" HeaderText="职工号" ReadOnly="True" />
                
                                    <asp:TemplateField HeaderText="姓名" ShowHeader="False">
                    <ItemTemplate>
                        <asp:LinkButton ID="LinkButton2" runat="server" CausesValidation="False" 
                            CommandName="Select" Text='<%# bind("A2") %>'></asp:LinkButton>
                    </ItemTemplate>
                </asp:TemplateField> 
                <asp:BoundField DataField="A3" HeaderText="身份证号" ReadOnly="True" />
                <asp:BoundField DataField="A4" HeaderText="部门" ReadOnly="True" />
                <asp:BoundField DataField="A5" HeaderText="性别" ReadOnly="True" />
                <asp:BoundField DataField="A8" HeaderText="出生日期" ReadOnly="True" />
                <asp:BoundField DataField="A33" HeaderText="现任岗位" ReadOnly="True" />
                    <asp:CommandField EditText="修改" HeaderText="修改" ShowEditButton="True" />
                </Columns>
            <HeaderStyle BorderWidth="1px" CssClass="gvhead" />
        </asp:GridView></div>
                        </div>
        </td>
      </tr>
      <tr><td  >
          <table cellpadding="0" cellspacing="0" style ="width :100%">
              <tr>
                  <td style =" padding-left :5px; text-align :left  ">

                  </td>
                  <td  id ="allowpage" runat ="server" style ="text-align :right ;  padding-right  :5px">
                      &nbsp;</td>
              </tr>
          </table>
          </td></tr>
    </table>
<!-- 一组内容模块结束 -->
   
    </td>
    <td  style =" background-image:url(../../css/admincss/images/mail_rightbg.gif )" >
    </td>
  </tr>
  <tr>
<td  class ="buttom_bg_left "></td>
  <td   class ="buttom_bg_center " ></td>
    <td  class ="buttom_bg_right " ></td>
  </tr>
</table>
    </div>
    </form>
</body>
</html>
