<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="departmentwage.aspx.cs" Inherits="Web.gz.show.departmentwage" %>

<!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>OA标题页</title>
    <meta http-equiv="Content-Type" content="text/html; charset=GB2312" />
    <link href="../../css/css.css" rel="stylesheet" type="text/css" />
     <script type="text/javascript" src="../../css/popcalendar.js"></script>
</head>
<body>
    <form id="fom" runat="server">
      <asp:Panel ID="pnAll" runat="server">
        <div id ="main-c-03-right" >
            <table cellpadding="0"; cellspacing ="0"; style =" width :100%;background-image: url('../../css/images/right_top.png'); background-repeat :repeat-x" >
                <tr>
      <td class  ="main-c-03-right02-top">
                	   <!--这里添加页面标题 -->
                      	    部门工资查询
                    </td>

                </tr>
            </table>
            <div id="main-c-03-right02-main">
                        <table  border = "0"  cellpadding ="0" cellspacing ="0" style =" height :40px"><tr>
        <td class =" td_rightnoborder  " style ="width :70px"><div >
             <b>选择模块：</b>
             </div> </td>
        <td class =" td_leftnoborder  ">                         
            <asp:RadioButtonList ID="rblProjectA" runat="server" 
                             RepeatDirection ="Horizontal" RepeatColumns ="8" 
                AutoPostBack="True" 
                onselectedindexchanged="rblProjectA_SelectedIndexChanged" >
                         </asp:RadioButtonList>
  </td>
        </tr> </table> 
            <div >                       
                部门：<asp:DropDownList ID="ddlDepartment" runat="server"> </asp:DropDownList>
                &nbsp;人员编号或姓名：<asp:TextBox ID="tbStaff" runat="server" Width="120px"></asp:TextBox>
                
                
                &nbsp; 起始日期：<asp:textbox id="date1" runat="server" Width="80px"  onclick="popUpCalendar(this,this,'yyyy-mm-dd')"></asp:textbox>
                &nbsp;终止日期：<asp:TextBox ID="date2" runat="server" 
                    onclick="popUpCalendar(this,this,'yyyy-mm-dd')" Width="80px"> </asp:TextBox>
                &nbsp;<asp:Button ID="btQuery1" runat="server" onclick="btnQuery_Click" Text="查询" ValidationGroup="Inquires" /><br />

        <asp:RegularExpressionValidator ID="RegularExpressionValidator4" runat="server" 
            ControlToValidate="tbStaff" Display="Dynamic" ErrorMessage="输入的人员编号或姓名不对！" 
            ValidationExpression="^[^%&gt;&lt;'&amp;*=!&quot;?]{0,25}$" 
                 ValidationGroup="Inquires" ForeColor="Red"></asp:RegularExpressionValidator>
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator4" 
                  runat="server" ControlToValidate="date1" Display="Dynamic" 
                  ErrorMessage="起始日期必填！" ValidationGroup="Inquires" ForeColor="Red"></asp:RequiredFieldValidator>
              <asp:RequiredFieldValidator ID="RequiredFieldValidator5" runat="server" 
                  ControlToValidate="date2" Display="Dynamic" ErrorMessage="终止日期必填！" 
                 ValidationGroup="Inquires" ForeColor="Red"></asp:RequiredFieldValidator>
              <asp:RegularExpressionValidator ID="RegularExpressionValidator5" runat="server" 
                  ControlToValidate="date1" Display="Dynamic" ErrorMessage="请填正确日期格式：如2001-01-01" 
                  ValidationExpression="\d{4}-\d{2}-\d{2}" ValidationGroup="Inquires" 
                    ForeColor="Red"></asp:RegularExpressionValidator>
              <asp:RegularExpressionValidator ID="RegularExpressionValidator6" runat="server" 
                  ControlToValidate="date2" Display="Dynamic" ErrorMessage="请填正确日期格式：如2001-01-01" 
                  ValidationExpression="\d{4}-\d{2}-\d{2}" ValidationGroup="Inquires" 
                    ForeColor="Red"></asp:RegularExpressionValidator>
                </div>
            
<!--栏目开始 -->

        <div class =" lanmubiaoti ">    <asp:Label ID="lbbiaoti" runat="server" ></asp:Label></div>

            <!--这里添加内容 -->
            <div style =" width :100%; text-align :right ;">                     
                <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="5">100</asp:TextBox>  <asp:Button ID="btnQuery" runat="server" onclick="btnQuery_Click" Text="确定" ToolTip="RowNum" 
                                                ValidationGroup="Inquires" /></div>
                    <asp:GridView ID="GridView1" runat="server" BorderWidth="1px" 
                onrowdatabound="GridView1_RowDataBound" Width="100%" CssClass="gv" 
                            onrowcreated="GridView1_RowCreated">
            <RowStyle HorizontalAlign="Center" VerticalAlign="Middle" BorderWidth="1px" 
                CssClass="gvrow" />
            <HeaderStyle BorderWidth="1px" CssClass="gvhead" />
        </asp:GridView>
		<table cellpadding="0" cellspacing="0" style ="width :100%">
              <tr>
                  <td style =" padding-left :5px; text-align :left  "> <asp:Label ID="lbRowscountview" runat="server" 
                ForeColor="Red"></asp:Label>
                        <br />
                  </td>
                  <td  id ="allowpage" runat ="server" style ="text-align :right ;  padding-right  :5px">
                      &nbsp;</td>
              </tr>
          </table>
        <asp:Panel ID="plOutput" runat="server" Visible ="false" >
            <div style =" text-align :right ; padding-right :6px">      
                <asp:Button ID="btPrintView" runat="server" Text="打印预览" 
                  onclick="btPrintView_Click"  />
                &nbsp;<asp:Button ID="btExcel" runat="server" onclick="btExcel_Click" 
                    Text="导出到EXCEL" />
            </div>
              </asp:Panel>

<!--栏目结束 -->
               

                </div>
            </div>
         </asp:Panel> 
        </form>
    </body>
</html>
