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

<!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/css.css" rel="stylesheet" type="text/css" />
    <meta http-equiv="Content-Type" content="text/html; charset=GB2312" />
    <script type="text/javascript" src="../../css/popcalendar.js"></script>
</head>
<body>
    <form id="fom" 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 style ="width :720px; height :34px;  background-image: url('../../css/images/atghtj.png');	background-repeat: no-repeat;
                	background-position: left top;"><div id="main-c-03-right02-top">
                	   <!--这里添加页面标题 -->
                      	工资查询
                      	
                	</div></td>
                </tr>
            </table>
            <div id="main-c-03-right02-main">
            <table  border = "0"  cellpadding ="0" cellspacing ="0" ><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> 
                <asp:Panel ID="pnSearch" runat="server" Visible="False">
            <div >                       
                      起始日期&nbsp;&nbsp; <asp:textbox id="date1" runat="server" Width="70px"  
              ToolTip="点击输入框右侧的日期图标选择日期" onclick="popUpCalendar(this,this,'yyyy-mm-dd')"></asp:textbox>
                                 
        终止日期&nbsp;&nbsp; <asp:textbox id="date2" runat="server" Width="70px"    
              ToolTip="点击输入框右侧的日期图标选择日期" onclick="popUpCalendar(this,this,'yyyy-mm-dd')"></asp:textbox>
                                                          
       <asp:Button ID="tijiao" runat="server" onclick="tijiao_Click" Text="提交查询" ValidationGroup="cha"/>
       &nbsp;&nbsp;<asp:RequiredFieldValidator ID="RequiredFieldValidator1" 
                  runat="server" ControlToValidate="date1" Display="Dynamic" 
                  ErrorMessage="起始日期必填！" ValidationGroup="cha" ForeColor="Red"></asp:RequiredFieldValidator>
              <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" 
                  ControlToValidate="date2" Display="Dynamic" ErrorMessage="终止日期必填！" 
                          ValidationGroup="cha" ForeColor="Red"></asp:RequiredFieldValidator>
              <asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" 
                  ControlToValidate="date1" Display="Dynamic" ErrorMessage="请填正确日期格式：如2001-01-01" 
                  ValidationExpression="\d{4}-\d{2}-\d{2}" ValidationGroup="cha" ForeColor="Red"></asp:RegularExpressionValidator>
              <asp:RegularExpressionValidator ID="RegularExpressionValidator2" runat="server" 
                  ControlToValidate="date2" Display="Dynamic" ErrorMessage="请填正确日期格式：如2001-01-01" 
                  ValidationExpression="\d{4}-\d{2}-\d{2}" ValidationGroup="cha" ForeColor="Red"></asp:RegularExpressionValidator>
                      </div>
                     </asp:Panel>
            
<!--栏目开始 -->
            <table style ="width :100%" border="0" align="center" cellpadding="0" cellspacing="0" class="ziti04">
               <tr>
                    <td style ="font-weight:bolder;background-image: url('../../css/images/asdfrsg.png'); height :33px; padding-left :20px">
                    <!--这里添加栏目标题 -->
                    <asp:Label ID="lbbiaoti" runat="server" ></asp:Label>
                    
                     &gt;&gt;</td>
                    <td style ="background-image: url('../../css/images/asdfrsg.png'); width :103px"></td>
                    <td style ="background-image: url('../../css/images/asdfrsg.png'); width :64px"></td>
                    <td  style ="background-image: url('../../css/images/asdfrsg.png'); width :76px" >                    <asp:Button ID="btjinqi" runat="server" Text="近期明细" 
            onclick="btjinqi_Click" Visible="False" CausesValidation="False" />                                          
              <asp:Button ID="btmore" runat="server" Text="往期明细" 
            onclick="btmore_Click" /> </td>
                </tr>
                <tr>
                    <td height="10" colspan="4" style="font-weight:bolder;"></td>
                </tr>
            </table>
            <!--这里添加内容 -->
               <asp:Panel ID="pnCurrent" runat="server">
   
   <div  class =" td_leftnoborder  " >
          <table style ="width :100%">
              <tr>
                  <td style ="text-align :left; padding-left :5px">
                      <asp:Label ID="lbbianhao" runat="server"></asp:Label>
                  </td>


                  <td style ="text-align:right ; padding-right :5px">
                      <span runat ="server" id="spandanwei" > 单位：元</span> </td>
              </tr>
          </table>
      
          <asp:GridView ID="GridView1" runat="server" Width="100%" 
                BorderWidth="1px" CssClass="gv" ShowHeader="False">
            <RowStyle BorderWidth="1px" CssClass="gvrow" Font-Bold="True" />
            <HeaderStyle BorderWidth="1px" CssClass="gvhead" />
              <AlternatingRowStyle Font-Bold="False" />
        </asp:GridView>

          <table style ="width :100%; padding :5px" >
                  <tr><td class =" td_leftnoborder  "> &nbsp;</td>
                  <td class =" td_rightnoborder  ">
                      <asp:Button ID="btPrintView" runat="server" onclick="btPrintView_Click" 
                          Text="打印预览" CausesValidation="False" Visible="False" />
                      </td>
                  </tr>
                  </table>

      </div>
   
   </asp:Panel>
   
   <asp:Panel ID="pnBefore" runat="server" Visible="False">
   
   <div> 
              <asp:GridView ID="GridView2" runat="server" 
            onrowdatabound="GridView1_RowDataBound" Width="100%" 
                BorderWidth="1px" CssClass="gv">
            <RowStyle BorderWidth="1px" CssClass="gvrow" />
            <HeaderStyle BorderWidth="1px" CssClass="gvhead" />
        </asp:GridView>
<div style ="text-align :right ">
    <asp:Button ID="btPrintViewAll" runat="server" onclick="btPrintViewAll_Click" 
        Text="打印预览" CausesValidation="False" Visible="False" />
    <asp:Button ID="btexcel" runat="server" Text="导出到EXCEL" 
        onclick="btexcel_Click" CausesValidation="False" Visible="False" /></div>
                    </div>
   </asp:Panel>
        <div style ="text-align :left; color :#ff0000; padding-left :10px; padding-top :10px;font-size :14px">
       <asp:Label ID="lbMessage" runat="server" ></asp:Label></div> 

<!--栏目结束 -->
               

                </div>
            </div>
        </form>
    </body>
</html>



