<%@ page title="" language="C#" masterpagefile="~/html/MasterPage.master" autoeventwireup="true" inherits="html_AttendanceRegister, App_Web_fz5gj3qy" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
    <link href="../CSS/ForButton.css" type="text/css" rel="Stylesheet" />
    <link href="../CSS/style.css" type="text/css" rel="Stylesheet" />
    <link href="../CSS/ForButton.css" type="text/css" rel="Stylesheet" />
  <%--  <link href="../CSS/ForButton1.css" type="text/css" rel="Stylesheet" />--%>

     <link href="../css/buttoncss.css" type="text/css" rel="Stylesheet"/>
    <script type="text/javascript" src="../js/JScript.js"></script>
    <style type="text/css">
     .p1
        {
       background-image: linear-gradient(to bottom, #fcfcfc, #f7f7f7 3%, #ff9966 12%,#ff9966 90%, #bfbfbf);
-webkit-box-shadow: 0 4px 25px rgba(0,0,0,0.32), inset 0 1px 0 white;
-moz-box-shadow: 0 4px 25px rgba(0,0,0,0.32), inset 0 1px 0 white;
box-shadow: 0 4px 25px rgba(0,0,0,0.32), inset 0 1px 0 white;
            height:35px;
            width:243px;
        }
         .lb
    {
            clear: left;
            margin: 5px 2px 0 0;
            text-align: right;
            font-size: 12px;
            color: Black;
            text-transform: capitalize;
            text-shadow: 0px 0.5px 0px #444;
            font-weight:normal;
            font-family:Verdana;
        }
        
          .cssLoadingTimer
        {        	
        	/* filter:alpha(opacity=90);       	
        	opacity:0.7; */        	
        	text-align:center; 
        	position:fixed; 
        	margin:5% 0% 0px 30%; 
        	   
        	width:300px;
        	height:20%;
        	background-color:#ffebcc;
        	display:inline;
            z-index:999;
            margin-top:200px;
            align:center;
        	
        
        }


    </style>


    <script type="text/javascript">
        $().ready(function () {

            var Days_inMonth = "";
            var user_id = $('input[id$=hf_user_id]').val();
            var Pageload = $('input[id$=hfpageload]').val();

            if (Pageload == "Yes") {

                var YearNo = $('input[id$=hf_year]').val();
                var MonthNo = $('input[id$=hf_month_no]').val();
                Bind_attendance_monthwise(MonthNo, YearNo);
                $('input[id$=hfpageload]').val("");
            }

            function daysInMonth(month, year) {
                return new Date(year, month, 0).getDate();
            }

            function Bind_attendance_monthwise(MonthNo, YearNo) {

                $.ajax({

                    type: "POST",
                    url: "AttendanceRegister.aspx/find_month_name",
                    data: "{MonthNo:'" + MonthNo + "'}",
                    contentType: "application/json; charset=utf-8",
                    dataType: "json",
                    success: function (response) {
                        $("#<%=lbl_month_year.ClientID %>").html(response.d);
                    }
                });

                $("#monthwise_report_list").empty();
                Days_inMonth = daysInMonth(MonthNo, YearNo);

                $.ajax({
                    type: "POST",
                    url: "AttendanceRegister.aspx/bind_Attendance_list",
                    data: "{MonthNo:'" + MonthNo + "',YearNo:'" + YearNo + "',user_id:'" + user_id + "'}",
                    contentType: "application/json; charset=utf-8",
                    dataType: "json",
                    success: function (response) {
                        var xmlDoc = $.parseXML(response.d);
                        var xml = $(xmlDoc);
                        var atten = xml.find("AttendanceList");

                        if (Days_inMonth == "28") {
                            $("#monthwise_report_list").append("<tr style='background-color:#990000;color:white;font-size:12px;'> <th style='width:30px;'><b>01</b></th>  <th style='width:30px;'><b>02</b></th>  <th style='width:30px;'><b>03</b></th>  <th style='width:30px;'><b>04</b></th>  <th style='width:30px;'><b>05</b></th>  <th style='width:30px;'><b>06</b></th>  <th style='width:30px;'><b>07</b></th>  <th style='width:30px;'><b>08</b></th>  <th style='width:30px;'><b>09</b></th>  <th style='width:30px;'><b>10</b></th>  <th style='width:30px;'><b>11</b></th>  <th style='width:30px;'><b>12</b></th>  <th style='width:30px;'><b>13</b></th>  <th style='width:30px;'><b>14</b></th>  <th style='width:30px;'><b>15</b></th>  <th style='width:30px;'><b>16</b></th>  <th style='width:30px;'><b>17</b></th>  <th style='width:30px;'><b>18</b></th>  <th style='width:30px;'><b>19</b></th>  <th style='width:30px;'><b>20</b></th>  <th style='width:30px;'><b>21</b></th>  <th style='width:30px;'><b>22</b></th>  <th style='width:30px;'><b>23</b></th>  <th style='width:30px;'><b>24</b></th>  <th style='width:30px;'><b>25</b></th>  <th style='width:30px;'><b>26</b></th>  <th style='width:30px;'><b>27</b></th>  <th style='width:30px;'><b>28</b></th></tr>");
                        }
                        else if (Days_inMonth == "29") {
                            $("#monthwise_report_list").append("<tr style='background-color:#990000;color:white;font-size:12px;'> <th style='width:30px;'><b>01</b></th>  <th style='width:30px;'><b>02</b></th>  <th style='width:30px;'><b>03</b></th>  <th style='width:30px;'><b>04</b></th>  <th style='width:30px;'><b>05</b></th>  <th style='width:30px;'><b>06</b></th>  <th style='width:30px;'><b>07</b></th>  <th style='width:30px;'><b>08</b></th>  <th style='width:30px;'><b>09</b></th>  <th style='width:30px;'><b>10</b></th>  <th style='width:30px;'><b>11</b></th>  <th style='width:30px;'><b>12</b></th>  <th style='width:30px;'><b>13</b></th>  <th style='width:30px;'><b>14</b></th>  <th style='width:30px;'><b>15</b></th>  <th style='width:30px;'><b>16</b></th>  <th style='width:30px;'><b>17</b></th>  <th style='width:30px;'><b>18</b></th>  <th style='width:30px;'><b>19</b></th>  <th style='width:30px;'><b>20</b></th>  <th style='width:30px;'><b>21</b></th>  <th style='width:30px;'><b>22</b></th>  <th style='width:30px;'><b>23</b></th>  <th style='width:30px;'><b>24</b></th>  <th style='width:30px;'><b>25</b></th>  <th style='width:30px;'><b>26</b></th>  <th style='width:30px;'><b>27</b></th>  <th style='width:30px;'><b>28</b></th>  <th style='width:30px;'><b>29</b></th></tr>");
                        }
                        else if (Days_inMonth == "30") {
                            $("#monthwise_report_list").append("<tr style='background-color:#990000;color:white;font-size:12px;'> <th style='width:30px;'><b>01</b></th>  <th style='width:30px;'><b>02</b></th>  <th style='width:30px;'><b>03</b></th>  <th style='width:30px;'><b>04</b></th>  <th style='width:30px;'><b>05</b></th>  <th style='width:30px;'><b>06</b></th>  <th style='width:30px;'><b>07</b></th>  <th style='width:30px;'><b>08</b></th>  <th style='width:30px;'><b>09</b></th>  <th style='width:30px;'><b>10</b></th>  <th style='width:30px;'><b>11</b></th>  <th style='width:30px;'><b>12</b></th>  <th style='width:30px;'><b>13</b></th>  <th style='width:30px;'><b>14</b></th>  <th style='width:30px;'><b>15</b></th>  <th style='width:30px;'><b>16</b></th>  <th style='width:30px;'><b>17</b></th>  <th style='width:30px;'><b>18</b></th>  <th style='width:30px;'><b>19</b></th>  <th style='width:30px;'><b>20</b></th>  <th style='width:30px;'><b>21</b></th>  <th style='width:30px;'><b>22</b></th>  <th style='width:30px;'><b>23</b></th>  <th style='width:30px;'><b>24</b></th>  <th style='width:30px;'><b>25</b></th>  <th style='width:30px;'><b>26</b></th>  <th style='width:30px;'><b>27</b></th>  <th style='width:30px;'><b>28</b></th>  <th style='width:30px;'><b>29</b></th>  <th style='width:30px;'><b>30</b></th></tr>");
                        }
                        else if (Days_inMonth == "31") {
                            $("#monthwise_report_list").append("<tr style='background-color:#990000;color:white;font-size:12px;'> <th style='width:30px;'><b>01</b></th>  <th style='width:30px;'><b>02</b></th>  <th style='width:30px;'><b>03</b></th>  <th style='width:30px;'><b>04</b></th>  <th style='width:30px;'><b>05</b></th>  <th style='width:30px;'><b>06</b></th>  <th style='width:30px;'><b>07</b></th>  <th style='width:30px;'><b>08</b></th>  <th style='width:30px;'><b>09</b></th>  <th style='width:30px;'><b>10</b></th>  <th style='width:30px;'><b>11</b></th>  <th style='width:30px;'><b>12</b></th>  <th style='width:30px;'><b>13</b></th>  <th style='width:30px;'><b>14</b></th>  <th style='width:30px;'><b>15</b></th>  <th style='width:30px;'><b>16</b></th>  <th style='width:30px;'><b>17</b></th>  <th style='width:30px;'><b>18</b></th>  <th style='width:30px;'><b>19</b></th>  <th style='width:30px;'><b>20</b></th>  <th style='width:30px;'><b>21</b></th>  <th style='width:30px;'><b>22</b></th>  <th style='width:30px;'><b>23</b></th>  <th style='width:30px;'><b>24</b></th>  <th style='width:30px;'><b>25</b></th>  <th style='width:30px;'><b>26</b></th>  <th style='width:30px;'><b>27</b></th>  <th style='width:30px;'><b>28</b></th>  <th style='width:30px;'><b>29</b></th>  <th style='width:30px;'><b>30</b></th>  <th style='width:30px;'><b>31</b></th></tr>");
                        }   
                        
                        $.each(atten, function () {
                            var _atten = $(this);
                            $("#monthwise_report_list").append("<tr><td style='width:200px;'>" + $(this).find("EName").text() + "</td>");

                            var cnt = 1;
                            for (cnt = 1; cnt <= Days_inMonth; cnt++) {
                                var xyz = $(this).find("EName").text();
                               
                                //alert($(this).find("EName").text());
                                //alert($(this).find(cnt).text());
                               
                                if ($(this).find(cnt).text() == "HF" || $(this).find(cnt).text() == "S" || $(this).find(cnt).text() == "L" || $(this).find(cnt).text() == "H") {
                                    $("#monthwise_report_list").append("<td style='width:30px;color:red;'>" + $(this).find(cnt).text() + "</td>");
                                }
                                else {
                                    $("#monthwise_report_list").append("<td style='width:30px;'>" + $(this).find(cnt).text() + "</td>");
                                }
                            }

                            $("#monthwise_report_list").append("</tr>");

                        });

                    },
                    failure: function (response) {
                        alert(response.d);
                    },
                    error: function (response) {
                        alert(response.d);
                    }
                });
            }

            //function Attandance_data(DaysOfMonth, atten) {

            //    $.each(atten, function () {
            //        var _atten = $(this);
            //        $("#monthwise_report_list").append("<tr><td style='width:200px;'>" + $(this).find("EName").text() +"</td>");

            //        var cnt = 1;
            //        for (cnt = 1; cnt <= DaysOfMonth; cnt++) {

            //            if ($(this).find(cnt).text() == "HF" || $(this).find(cnt).text() == "S" || $(this).find(cnt).text() == "L" || $(this).find(cnt).text() == "H") {
            //                $("#monthwise_report_list").append("<td style='width:30px;color:red;'>" + $(this).find(cnt).text() + "</td>");
            //            }
            //            else {
            //                $("#monthwise_report_list").append("<td style='width:30px;'>" + $(this).find(cnt).text() + "</td>");
            //            }
            //        }                   

            //        $("#monthwise_report_list").append("</tr>");

            //    });
            //}
        });

    </script>

</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
 <%--<asp:UpdateProgress ID="UpdateProgress2" runat="server"  
                           DynamicLayout="true"  >
                          <ProgressTemplate>
                          <div style="width:100%;">
                              <div class="cssLoadingTimer"  >
                              <p> Please wait...</p>
                                  <img id="Img1111" alt="Loading..." src="../images/Regloader.gif" runat="server" style="margin-top:15px;" align="middle"  />
                                  </div>
                                  
                                  </div>
                          </ProgressTemplate>
                      </asp:UpdateProgress>
 <asp:UpdatePanel ID="UpdatePanel1" runat="server">
    <ContentTemplate> --%>

 <asp:HiddenField ID="hf_month_no" runat="server" />
    <asp:HiddenField ID="hf_year" runat="server" />
      <asp:HiddenField ID="hfpageload" runat="server" />
     <asp:HiddenField ID="hf_user_id" runat="server" />

<asp:Panel ID="Panel1" runat="server" Width="1330px" Height="800px" CssClass="shadow_five">  
    <table >
        <tr>
            <td align="justify" valign="middle" colspan="5">
            
             <div class="p1"  >
      <p style="font-family:Verdana; font-size:14px; margin-top:10px;color:Blue;font-weight:bold;padding-top:10px;">
     <b style="color:Red;">&nbsp;&nbsp;Monthly Attendance Register</b> 
      </p>
           </div>
           
             
                  </td>
        </tr>
        
       <tr>
        <td colspan="5"></td>
        </tr>
        <tr>
        <td align="right" class="style6">
            &nbsp;</td>
        <td class="style8">
        
            &nbsp;</td>
        <td align="left" class="style3">
            &nbsp;</td>
        <td>&nbsp;</td>
        <td>&nbsp;</td>
        
        </tr>
        <tr>
            <td align="right" class="style7">
                <asp:Label ID="Label15" runat="server" Font-Names="Verdana" Font-Size="14px" CssClass="lb"
                    Text="Select Month"></asp:Label><b style="color:Red;">*</b>
            </td>
            <td class="style9">
                </td>
            <td align="left" class="style5">
                <asp:DropDownList ID="ddlMonth" runat="server" Width="150px">
                <asp:ListItem>-Select Month-</asp:ListItem>
                    <asp:ListItem Value="1">January</asp:ListItem>
                    <asp:ListItem Value="2">February</asp:ListItem>
                    <asp:ListItem  Value="3">March</asp:ListItem>
                    <asp:ListItem  Value="4">April</asp:ListItem>
                    <asp:ListItem  Value="5">May</asp:ListItem>
                    <asp:ListItem  Value="6">June</asp:ListItem>
                    <asp:ListItem  Value="7">July</asp:ListItem>
                    <asp:ListItem  Value="8">August</asp:ListItem>
                    <asp:ListItem  Value="9">September</asp:ListItem>
                    <asp:ListItem  Value="10">October</asp:ListItem>
                    <asp:ListItem  Value="11">November</asp:ListItem>
                    <asp:ListItem  Value="12">December</asp:ListItem>
                </asp:DropDownList>
                                <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="ddlMonth"
                                 InitialValue="-Select Month-" ErrorMessage="Select Month" ValidationGroup="1" ForeColor="Red"></asp:RequiredFieldValidator>

                &nbsp;<br />
            </td>
            <td colspan="2" class="style4">
                &nbsp;</td>
          
        </tr>
        <tr>
            <td align="right" class="style6">
                <asp:Label ID="Label16" runat="server" Font-Names="Verdana" Font-Size="14px" CssClass="lb"
                    Text="Select Year"></asp:Label><b style="color:Red;">*</b>
            </td>
            <td class="style8">
                &nbsp;</td>
            <td align="left" class="style3">
               <asp:DropDownList ID="ddlYear" runat="server" Width="150px">  
               </asp:DropDownList>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="ddlYear" 
                InitialValue="-Select Year-" ErrorMessage="Select Year" ValidationGroup="1" ForeColor="Red"></asp:RequiredFieldValidator>
                <br />
            </td>
            <td colspan="2">
                &nbsp;</td>
        </tr>
        <tr>
            <td align="right" class="style6">
                &nbsp;</td>
            <td class="style8">
                &nbsp;</td>
            <td align="left" class="style3">
                &nbsp;</td>
            <td colspan="2">
                &nbsp;</td>
        </tr>
        <tr>
            <td align="right" class="style6">
                &nbsp;</td>
            <td class="style8">
                &nbsp;</td>
            <td align="left" class="style3">
               <%-- <asp:Button ID="btnShow" runat="server" CssClass="myButton" 
                    onclick="btnShow_Click" Text="Show Report" ValidationGroup="1" Width="120px" />--%>
                    
                    
                <asp:Button ID="btn_show_reoprt_attandance" runat="server" Text="Show Report" 
                    CssClass="myButton" onclick="btn_show_reoprt_attandance_Click" ValidationGroup="1" Width="120px"/>
                    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                  <asp:Button ID="btnexport" runat="server" Text="Export" 
                    CssClass="myButton" onclick="btnexport_Click" ValidationGroup="1" Width="120px" Visible="false"/>   
            </td>
            <td colspan="2">
                &nbsp;</td>
        </tr>
     
    </table>
    <br /><br />

    <asp:Label runat="server" ID="lbl_month_year" Font-Size="15px"></asp:Label>
     <table id="_tbl_employeewise_report" cellpadding="4" border="1" rules="all" style="border-style:solid;border-width:0.2px;border-color:grey;font-family:Verdana;font-size:12px;" width="100%">
<%--<tr style="background-color:#990000; color:white;font-size:12px;">
    <th style="width:200px;">Employee Name</th>
    <th style="width:30px;"><b>01</b></th>
     <th style="width:30px;"><b>02</b></th>
     <th style="width:30px;"><b>03</b></th>
     <th style="width:30px;"><b>04</b></th>
     <th style="width:30px;"><b>05</b></th>
     <th style="width:30px;"><b>06</b></th>
     <th style="width:30px;"><b>07</b></th>
     <th style="width:30px;"><b>08</b></th>
     <th style="width:30px;"><b>09</b></th>
     <th style="width:30px;"><b>10</b></th>
     <th style="width:30px;"><b>11</b></th>
     <th style="width:30px;"><b>12</b></th>
     <th style="width:30px;"><b>13</b></th>
     <th style="width:30px;"><b>14</b></th>
     <th style="width:30px;"><b>15</b></th>
     <th style="width:30px;"><b>16</b></th>
     <th style="width:30px;"><b>17</b></th>
     <th style="width:30px;"><b>18</b></th>
     <th style="width:30px;"><b>19</b></th>
     <th style="width:30px;"><b>20</b></th>
     <th style="width:30px;"><b>21</b></th>
     <th style="width:30px;"><b>22</b></th>
     <th style="width:30px;"><b>23</b></th>
     <th style="width:30px;"><b>24</b></th>
     <th style="width:30px;"><b>25</b></th>
     <th style="width:30px;"><b>26</b></th>
     <th style="width:30px;"><b>27</b></th>
     <th id="th28" style="width:30px;"><b>28</b></th>
     <th id="th29"  style="width:30px;"><b>29</b></th>
     <th id="th30"  style="width:30px;"><b>30</b></th>
     <th id="th31" style="width:30px;"><b>31</b></th>    
</tr>--%>
<tbody id="monthwise_report_list" style="background-color:white;">

</tbody>
</table>  

    <div >

    <asp:GridView ID="gv_show_attandance_reoprt_31days"   runat="server"    GridLines="Both"  CellPadding="1" CellSpacing="1" AutoGenerateColumns="false"        
         Width="590px"   BackColor="LightGoldenrodYellow" BorderColor="Tan" BorderWidth="1px"    Font-Names="Book Antiqua" Font-Size="11pt" ForeColor="Black" 
        onrowdatabound="gv_show_attandance_reoprt_RowDataBound"   onrowcreated="gv_show_attandance_reoprt_31days_RowCreated">
                      <RowStyle BackColor="#ffc9bb" ForeColor="#333333" Width="100%" Height="30px" />
      
        <Columns>
        <asp:TemplateField HeaderText="Employee Name" HeaderStyle-Width="200px">
      
        <ItemTemplate> 
       <%--   <asp:Label ID="llb_row_id31" runat="server" Text='<%# Eval("RowID") %>' Width="30px" Visible="false"></asp:Label>  --%>
           <asp:Label runat="server" Text='<%# Eval("EName") %>' Width="200px"></asp:Label>      
        </ItemTemplate>          
        </asp:TemplateField>
        
          <asp:TemplateField HeaderText="01" HeaderStyle-Width="30px">
        <ItemTemplate> 
           <asp:Label ID="lbl01" runat="server" Text='<%# Eval("1") %>' Width="30px"></asp:Label>      
        </ItemTemplate>          
        </asp:TemplateField>
          <asp:TemplateField HeaderText="02" HeaderStyle-Width="30px">
        <ItemTemplate> 
           <asp:Label ID="lbl02" runat="server" Text='<%# Eval("2") %>' Width="30px"></asp:Label>      
        </ItemTemplate>          
        </asp:TemplateField>
          <asp:TemplateField HeaderText="03" HeaderStyle-Width="30px">
        <ItemTemplate> 
           <asp:Label ID="lbl03" runat="server" Text='<%# Eval("3") %>' Width="30px"></asp:Label>      
        </ItemTemplate>          
        </asp:TemplateField>
          <asp:TemplateField HeaderText="04" HeaderStyle-Width="30px">
        <ItemTemplate> 
           <asp:Label ID="lbl04" runat="server" Text='<%# Eval("4") %>' Width="30px"></asp:Label>      
        </ItemTemplate>          
        </asp:TemplateField>
          <asp:TemplateField HeaderText="05" HeaderStyle-Width="30px">
        <ItemTemplate> 
           <asp:Label ID="lbl05" runat="server" Text='<%# Eval("5") %>' Width="30px"></asp:Label>      
        </ItemTemplate>          
        </asp:TemplateField>
          <asp:TemplateField HeaderText="06" HeaderStyle-Width="30px">
        <ItemTemplate> 
           <asp:Label ID="lbl06" runat="server" Text='<%# Eval("6") %>' Width="30px"></asp:Label>      
        </ItemTemplate>          
        </asp:TemplateField>
          <asp:TemplateField HeaderText="07" HeaderStyle-Width="30px">
        <ItemTemplate> 
           <asp:Label ID="lbl07" runat="server" Text='<%# Eval("7") %>' Width="30px"></asp:Label>      
        </ItemTemplate>          
        </asp:TemplateField>
          <asp:TemplateField HeaderText="08" HeaderStyle-Width="30px">
        <ItemTemplate> 
           <asp:Label ID="lbl08" runat="server" Text='<%# Eval("8") %>' Width="30px"></asp:Label>      
        </ItemTemplate>          
        </asp:TemplateField>
          <asp:TemplateField HeaderText="09" HeaderStyle-Width="30px">
        <ItemTemplate> 
           <asp:Label ID="lbl09" runat="server" Text='<%# Eval("9") %>' Width="30px"></asp:Label>      
        </ItemTemplate>          
        </asp:TemplateField>
          <asp:TemplateField HeaderText="10" HeaderStyle-Width="30px">
        <ItemTemplate> 
           <asp:Label ID="lbl10" runat="server" Text='<%# Eval("10") %>' Width="30px"></asp:Label>      
        </ItemTemplate>          
        </asp:TemplateField>
          <asp:TemplateField HeaderText="11" HeaderStyle-Width="30px">
        <ItemTemplate> 
           <asp:Label ID="lbl11" runat="server" Text='<%# Eval("11") %>' Width="30px"></asp:Label>      
        </ItemTemplate>          
        </asp:TemplateField>
          <asp:TemplateField HeaderText="12" HeaderStyle-Width="30px">
        <ItemTemplate> 
           <asp:Label ID="lbl12" runat="server" Text='<%# Eval("12") %>' Width="30px"></asp:Label>      
        </ItemTemplate>          
        </asp:TemplateField>
          <asp:TemplateField HeaderText="13" HeaderStyle-Width="30px">
        <ItemTemplate> 
           <asp:Label ID="lbl13" runat="server" Text='<%# Eval("13") %>' Width="30px"></asp:Label>      
        </ItemTemplate>          
        </asp:TemplateField>
          <asp:TemplateField HeaderText="14" HeaderStyle-Width="30px">
        <ItemTemplate> 
           <asp:Label ID="lbl14" runat="server" Text='<%# Eval("14") %>' Width="30px"></asp:Label>      
        </ItemTemplate>          
        </asp:TemplateField>
        
         <asp:TemplateField HeaderText="15" HeaderStyle-Width="30px">
        <ItemTemplate> 
           <asp:Label ID="lbl15" runat="server" Text='<%# Eval("15") %>' Width="30px"></asp:Label>      
        </ItemTemplate>          
        </asp:TemplateField>
          <asp:TemplateField HeaderText="16" HeaderStyle-Width="30px">
        <ItemTemplate> 
           <asp:Label ID="lbl16" runat="server" Text='<%# Eval("16") %>' Width="30px"></asp:Label>      
        </ItemTemplate>          
        </asp:TemplateField>
          <asp:TemplateField HeaderText="17" HeaderStyle-Width="30px">
        <ItemTemplate> 
           <asp:Label ID="lbl17" runat="server" Text='<%# Eval("17") %>' Width="30px"></asp:Label>      
        </ItemTemplate>          
        </asp:TemplateField>
          <asp:TemplateField HeaderText="18" HeaderStyle-Width="30px">
        <ItemTemplate> 
           <asp:Label ID="lbl18" runat="server" Text='<%# Eval("18") %>' Width="30px"></asp:Label>      
        </ItemTemplate>          
        </asp:TemplateField>
          <asp:TemplateField HeaderText="19" HeaderStyle-Width="30px">
        <ItemTemplate> 
           <asp:Label ID="lbl19" runat="server" Text='<%# Eval("19") %>' Width="30px"></asp:Label>      
        </ItemTemplate>          
        </asp:TemplateField>
          <asp:TemplateField HeaderText="20" HeaderStyle-Width="30px">
        <ItemTemplate> 
           <asp:Label ID="lbl20" runat="server" Text='<%# Eval("20") %>' Width="30px"></asp:Label>      
        </ItemTemplate>          
        </asp:TemplateField>
          <asp:TemplateField HeaderText="21" HeaderStyle-Width="30px">
        <ItemTemplate> 
           <asp:Label ID="lbl21" runat="server" Text='<%# Eval("21") %>' Width="30px"></asp:Label>      
        </ItemTemplate>          
        </asp:TemplateField>
          <asp:TemplateField HeaderText="22" HeaderStyle-Width="30px">
        <ItemTemplate> 
           <asp:Label ID="lbl22" runat="server" Text='<%# Eval("22") %>' Width="30px"></asp:Label>      
        </ItemTemplate>          
        </asp:TemplateField>
          <asp:TemplateField HeaderText="23" HeaderStyle-Width="30px">
        <ItemTemplate> 
           <asp:Label ID="lbl23" runat="server" Text='<%# Eval("23") %>' Width="30px"></asp:Label>      
        </ItemTemplate>          
        </asp:TemplateField>
          <asp:TemplateField HeaderText="24" HeaderStyle-Width="30px">
        <ItemTemplate> 
           <asp:Label ID="lbl24" runat="server" Text='<%# Eval("24") %>' Width="30px"></asp:Label>      
        </ItemTemplate>          
        </asp:TemplateField>
           <asp:TemplateField HeaderText="25" HeaderStyle-Width="30px">
        <ItemTemplate> 
           <asp:Label ID="lbl25" runat="server" Text='<%# Eval("25") %>' Width="30px"></asp:Label>      
        </ItemTemplate>          
        </asp:TemplateField>
        
          <asp:TemplateField HeaderText="26" HeaderStyle-Width="30px">
        <ItemTemplate> 
           <asp:Label ID="lbl26" runat="server" Text='<%# Eval("26") %>' Width="30px"></asp:Label>      
        </ItemTemplate>          
        </asp:TemplateField>
          <asp:TemplateField HeaderText="27" HeaderStyle-Width="30px">
        <ItemTemplate> 
           <asp:Label ID="lbl27" runat="server" Text='<%# Eval("27") %>' Width="30px"></asp:Label>      
        </ItemTemplate>          
        </asp:TemplateField>
          <asp:TemplateField HeaderText="28" HeaderStyle-Width="30px">
        <ItemTemplate> 
           <asp:Label ID="lbl28" runat="server" Text='<%# Eval("28") %>' Width="30px"></asp:Label>      
        </ItemTemplate>          
        </asp:TemplateField>
          <asp:TemplateField HeaderText="29" HeaderStyle-Width="30px">
        <ItemTemplate> 
           <asp:Label ID="lbl29" runat="server" Text='<%# Eval("29") %>' Width="30px"></asp:Label>      
        </ItemTemplate>          
        </asp:TemplateField>
          <asp:TemplateField HeaderText="30" HeaderStyle-Width="30px">
        <ItemTemplate> 
           <asp:Label ID="lbl30" runat="server" Text='<%# Eval("30") %>' Width="30px"></asp:Label>      
        </ItemTemplate>          
        </asp:TemplateField>
        
          <asp:TemplateField HeaderText="31" HeaderStyle-Width="30px">
        <ItemTemplate> 
           <asp:Label ID="lbl31" runat="server" Text='<%# Eval("31") %>' Width="30px"></asp:Label>      
        </ItemTemplate>          
        </asp:TemplateField>
        
        </Columns>
    
       <FooterStyle BackColor="#990000" Font-Bold="True" ForeColor="White" />
                            <PagerStyle BackColor="#FFCC66" ForeColor="#333333" HorizontalAlign="Center" />
                            <SelectedRowStyle BackColor="#FFCC66" Font-Bold="True" ForeColor="Navy" />
                            <HeaderStyle BackColor="#990000" Font-Bold="True" ForeColor="White" HorizontalAlign="Left" />
                            <AlternatingRowStyle BackColor="White" />
    </asp:GridView>
    </div>
     <%-- <asp:GridView ID="gv_show_attandance_28days"   runat="server" 
        
       GridLines="Both"
        CellPadding="1" CellSpacing="1" AutoGenerateColumns="false"        
         Width="590px"
                    BackColor="LightGoldenrodYellow" BorderColor="Tan" BorderWidth="1px" 
                    Font-Names="Book Antiqua" Font-Size="11pt" ForeColor="Black" 
        onrowdatabound="gv_show_attandance_28days_RowDataBound" onrowcreated="gv_show_attandance_28days_RowCreated" 
       >
                      <RowStyle BackColor="#ffc9bb" ForeColor="#333333" Width="100%" Height="30px" />
        
        <Columns>
        <asp:TemplateField HeaderText="Employee Name" HeaderStyle-Width="200px">
        <ItemTemplate> 
         <asp:Label ID="llb_row_id28" runat="server" Text='<%# Eval("RowID") %>' Width="30px" Visible="false"></asp:Label>  
           <asp:Label ID="Label128" runat="server" Text='<%# Eval("Ename") %>' Width="200px"></asp:Label>      
        </ItemTemplate>          
        </asp:TemplateField>
        
          <asp:TemplateField HeaderText="01" HeaderStyle-Width="30px">
        <ItemTemplate> 
           <asp:Label ID="lbl0128" runat="server" Text='<%# Eval("01") %>' Width="30px"></asp:Label>      
        </ItemTemplate>          
        </asp:TemplateField>
          <asp:TemplateField HeaderText="02" HeaderStyle-Width="30px">
        <ItemTemplate> 
           <asp:Label ID="lbl0228" runat="server" Text='<%# Eval("02") %>' Width="30px"></asp:Label>      
        </ItemTemplate>          
        </asp:TemplateField>
          <asp:TemplateField HeaderText="03" HeaderStyle-Width="30px">
        <ItemTemplate> 
           <asp:Label ID="lbl0328" runat="server" Text='<%# Eval("03") %>' Width="30px"></asp:Label>      
        </ItemTemplate>          
        </asp:TemplateField>
          <asp:TemplateField HeaderText="04" HeaderStyle-Width="30px">
        <ItemTemplate> 
           <asp:Label ID="lbl0428" runat="server" Text='<%# Eval("04") %>' Width="30px"></asp:Label>      
        </ItemTemplate>          
        </asp:TemplateField>
          <asp:TemplateField HeaderText="05" HeaderStyle-Width="30px">
        <ItemTemplate> 
           <asp:Label ID="lbl0528" runat="server" Text='<%# Eval("05") %>' Width="30px"></asp:Label>      
        </ItemTemplate>          
        </asp:TemplateField>
          <asp:TemplateField HeaderText="06" HeaderStyle-Width="30px">
        <ItemTemplate> 
           <asp:Label ID="lbl0628" runat="server" Text='<%# Eval("06") %>' Width="30px"></asp:Label>      
        </ItemTemplate>          
        </asp:TemplateField>
          <asp:TemplateField HeaderText="07" HeaderStyle-Width="30px">
        <ItemTemplate> 
           <asp:Label ID="lbl0728" runat="server" Text='<%# Eval("07") %>' Width="30px"></asp:Label>      
        </ItemTemplate>          
        </asp:TemplateField>
          <asp:TemplateField HeaderText="08" HeaderStyle-Width="30px">
        <ItemTemplate> 
           <asp:Label ID="lbl0828" runat="server" Text='<%# Eval("08") %>' Width="30px"></asp:Label>      
        </ItemTemplate>          
        </asp:TemplateField>
          <asp:TemplateField HeaderText="09" HeaderStyle-Width="30px">
        <ItemTemplate> 
           <asp:Label ID="lbl0928" runat="server" Text='<%# Eval("09") %>' Width="30px"></asp:Label>      
        </ItemTemplate>          
        </asp:TemplateField>
          <asp:TemplateField HeaderText="10" HeaderStyle-Width="30px">
        <ItemTemplate> 
           <asp:Label ID="lbl1028" runat="server" Text='<%# Eval("10") %>' Width="30px"></asp:Label>      
        </ItemTemplate>          
        </asp:TemplateField>
          <asp:TemplateField HeaderText="11" HeaderStyle-Width="30px">
        <ItemTemplate> 
           <asp:Label ID="lbl1128" runat="server" Text='<%# Eval("11") %>' Width="30px"></asp:Label>      
        </ItemTemplate>          
        </asp:TemplateField>
          <asp:TemplateField HeaderText="12" HeaderStyle-Width="30px">
        <ItemTemplate> 
           <asp:Label ID="lbl1228" runat="server" Text='<%# Eval("12") %>' Width="30px"></asp:Label>      
        </ItemTemplate>          
        </asp:TemplateField>
          <asp:TemplateField HeaderText="13" HeaderStyle-Width="30px">
        <ItemTemplate> 
           <asp:Label ID="lbl1328" runat="server" Text='<%# Eval("13") %>' Width="30px"></asp:Label>      
        </ItemTemplate>          
        </asp:TemplateField>
          <asp:TemplateField HeaderText="14" HeaderStyle-Width="30px">
        <ItemTemplate> 
           <asp:Label ID="lbl1428" runat="server" Text='<%# Eval("14") %>' Width="30px"></asp:Label>      
        </ItemTemplate>
                  
        </asp:TemplateField>
        
         <asp:TemplateField HeaderText="15" HeaderStyle-Width="30px">
        <ItemTemplate> 
           <asp:Label ID="lbl1528" runat="server" Text='<%# Eval("15") %>' Width="30px"></asp:Label>      
        </ItemTemplate>          
        </asp:TemplateField>
        
          <asp:TemplateField HeaderText="16" HeaderStyle-Width="30px">
        <ItemTemplate> 
           <asp:Label ID="lbl1628" runat="server" Text='<%# Eval("16") %>' Width="30px"></asp:Label>      
        </ItemTemplate>          
        </asp:TemplateField>
          <asp:TemplateField HeaderText="17" HeaderStyle-Width="30px">
        <ItemTemplate> 
           <asp:Label ID="lbl1728" runat="server" Text='<%# Eval("17") %>' Width="30px"></asp:Label>      
        </ItemTemplate>          
        </asp:TemplateField>
          <asp:TemplateField HeaderText="18" HeaderStyle-Width="30px">
        <ItemTemplate> 
           <asp:Label ID="lbl1828" runat="server" Text='<%# Eval("18") %>' Width="30px"></asp:Label>      
        </ItemTemplate>          
        </asp:TemplateField>
          <asp:TemplateField HeaderText="19" HeaderStyle-Width="30px">
        <ItemTemplate> 
           <asp:Label ID="lbl1928" runat="server" Text='<%# Eval("19") %>' Width="30px"></asp:Label>      
        </ItemTemplate>          
        </asp:TemplateField>
          <asp:TemplateField HeaderText="20" HeaderStyle-Width="30px">
        <ItemTemplate> 
           <asp:Label ID="lbl2028" runat="server" Text='<%# Eval("20") %>' Width="30px"></asp:Label>      
        </ItemTemplate>          
        </asp:TemplateField>
          <asp:TemplateField HeaderText="21" HeaderStyle-Width="30px">
        <ItemTemplate> 
           <asp:Label ID="lbl2128" runat="server" Text='<%# Eval("21") %>' Width="30px"></asp:Label>      
        </ItemTemplate>          
        </asp:TemplateField>
          <asp:TemplateField HeaderText="22" HeaderStyle-Width="30px">
        <ItemTemplate> 
           <asp:Label ID="lbl2228" runat="server" Text='<%# Eval("22") %>' Width="30px"></asp:Label>      
        </ItemTemplate>          
        </asp:TemplateField>
          <asp:TemplateField HeaderText="23" HeaderStyle-Width="30px">
        <ItemTemplate> 
           <asp:Label ID="lbl2328" runat="server" Text='<%# Eval("23") %>' Width="30px"></asp:Label>      
        </ItemTemplate>          
        </asp:TemplateField>
          <asp:TemplateField HeaderText="24" HeaderStyle-Width="30px">
        <ItemTemplate> 
           <asp:Label ID="lbl2428" runat="server" Text='<%# Eval("24") %>' Width="30px"></asp:Label>      
        </ItemTemplate>          
        </asp:TemplateField>
        
         <asp:TemplateField HeaderText="25" HeaderStyle-Width="30px">
        <ItemTemplate> 
           <asp:Label ID="lbl2528" runat="server" Text='<%# Eval("25") %>' Width="30px"></asp:Label>      
        </ItemTemplate>          
        </asp:TemplateField>
        
          <asp:TemplateField HeaderText="26" HeaderStyle-Width="30px">
        <ItemTemplate> 
           <asp:Label ID="lbl2628" runat="server" Text='<%# Eval("26") %>' Width="30px"></asp:Label>      
        </ItemTemplate>          
        </asp:TemplateField>
          <asp:TemplateField HeaderText="27" HeaderStyle-Width="30px">
        <ItemTemplate> 
           <asp:Label ID="lbl2728" runat="server" Text='<%# Eval("27") %>' Width="30px"></asp:Label>      
        </ItemTemplate>          
        </asp:TemplateField>
          <asp:TemplateField HeaderText="28" HeaderStyle-Width="30px">
        <ItemTemplate> 
           <asp:Label ID="lbl2828" runat="server" Text='<%# Eval("28") %>' Width="30px"></asp:Label>      
        </ItemTemplate>          
        </asp:TemplateField>
         
        
        </Columns>
    
       <FooterStyle BackColor="#990000" Font-Bold="True" ForeColor="White" />
                            <PagerStyle BackColor="#FFCC66" ForeColor="#333333" HorizontalAlign="Center" />
                            <SelectedRowStyle BackColor="#FFCC66" Font-Bold="True" ForeColor="Navy" />
                            <HeaderStyle BackColor="#990000" Font-Bold="True" ForeColor="White" HorizontalAlign="Left" />
                            <AlternatingRowStyle BackColor="White" />
    </asp:GridView>
    
    
      <asp:GridView ID="gv_show_attandance_29days"   runat="server" 
        
       GridLines="Both"
        CellPadding="1" CellSpacing="1" AutoGenerateColumns="false"        
         Width="590px"
                    BackColor="LightGoldenrodYellow" BorderColor="Tan" BorderWidth="1px" 
                    Font-Names="Book Antiqua" Font-Size="11pt" ForeColor="Black" 
        onrowdatabound="gv_show_attandance_29days_RowDataBound" onrowcreated="gv_show_attandance_29days_RowCreated" 
        >
                      <RowStyle BackColor="#ffc9bb" ForeColor="#333333" Width="100%" Height="30px" />
        
        <Columns>
        <asp:TemplateField HeaderText="Employee Name" HeaderStyle-Width="200px">
        <ItemTemplate> 
           <asp:Label ID="Label229" runat="server" Text='<%# Eval("Ename") %>' Width="200px"></asp:Label>  
             <asp:Label ID="llb_row_id_29" runat="server" Text='<%# Eval("RowID") %>' Width="30px" Visible="false"></asp:Label>       
        </ItemTemplate>          
        </asp:TemplateField>
        
          <asp:TemplateField HeaderText="01" HeaderStyle-Width="30px">
        <ItemTemplate> 
          
           <asp:Label ID="lbl0129" runat="server" Text='<%# Eval("01") %>' Width="30px"></asp:Label>      
        </ItemTemplate>          
        </asp:TemplateField>
          <asp:TemplateField HeaderText="02" HeaderStyle-Width="30px">
        <ItemTemplate> 
           <asp:Label ID="lbl0229" runat="server" Text='<%# Eval("02") %>' Width="30px"></asp:Label>      
        </ItemTemplate>          
        </asp:TemplateField>
          <asp:TemplateField HeaderText="03" HeaderStyle-Width="30px">
        <ItemTemplate> 
           <asp:Label ID="lbl0329" runat="server" Text='<%# Eval("03") %>' Width="30px"></asp:Label>      
        </ItemTemplate>          
        </asp:TemplateField>
          <asp:TemplateField HeaderText="04" HeaderStyle-Width="30px">
        <ItemTemplate> 
           <asp:Label ID="lbl0429" runat="server" Text='<%# Eval("04") %>' Width="30px"></asp:Label>      
        </ItemTemplate>          
        </asp:TemplateField>
          <asp:TemplateField HeaderText="05" HeaderStyle-Width="30px">
        <ItemTemplate> 
           <asp:Label ID="lbl0529" runat="server" Text='<%# Eval("05") %>' Width="30px"></asp:Label>      
        </ItemTemplate>          
        </asp:TemplateField>
          <asp:TemplateField HeaderText="06" HeaderStyle-Width="30px">
        <ItemTemplate> 
           <asp:Label ID="lbl0629" runat="server" Text='<%# Eval("06") %>' Width="30px"></asp:Label>      
        </ItemTemplate>          
        </asp:TemplateField>
          <asp:TemplateField HeaderText="07" HeaderStyle-Width="30px">
        <ItemTemplate> 
           <asp:Label ID="lbl0729" runat="server" Text='<%# Eval("07") %>' Width="30px"></asp:Label>      
        </ItemTemplate>          
        </asp:TemplateField>
          <asp:TemplateField HeaderText="08" HeaderStyle-Width="30px">
        <ItemTemplate> 
           <asp:Label ID="lbl0829" runat="server" Text='<%# Eval("08") %>' Width="30px"></asp:Label>      
        </ItemTemplate>          
        </asp:TemplateField>
          <asp:TemplateField HeaderText="09" HeaderStyle-Width="30px">
        <ItemTemplate> 
           <asp:Label ID="lbl0929" runat="server" Text='<%# Eval("09") %>' Width="30px"></asp:Label>      
        </ItemTemplate>          
        </asp:TemplateField>
          <asp:TemplateField HeaderText="10" HeaderStyle-Width="30px">
        <ItemTemplate> 
           <asp:Label ID="lbl1029" runat="server" Text='<%# Eval("10") %>' Width="30px"></asp:Label>      
        </ItemTemplate>          
        </asp:TemplateField>
          <asp:TemplateField HeaderText="11" HeaderStyle-Width="30px">
        <ItemTemplate> 
           <asp:Label ID="lbl1129" runat="server" Text='<%# Eval("11") %>' Width="30px"></asp:Label>      
        </ItemTemplate>          
        </asp:TemplateField>
          <asp:TemplateField HeaderText="12" HeaderStyle-Width="30px">
        <ItemTemplate> 
           <asp:Label ID="lbl1229" runat="server" Text='<%# Eval("12") %>' Width="30px"></asp:Label>      
        </ItemTemplate>          
        </asp:TemplateField>
          <asp:TemplateField HeaderText="13" HeaderStyle-Width="30px">
        <ItemTemplate> 
           <asp:Label ID="lbl1329" runat="server" Text='<%# Eval("13") %>' Width="30px"></asp:Label>      
        </ItemTemplate>          
        </asp:TemplateField>
          <asp:TemplateField HeaderText="14" HeaderStyle-Width="30px">
        <ItemTemplate> 
           <asp:Label ID="lbl1429" runat="server" Text='<%# Eval("14") %>' Width="30px"></asp:Label>      
        </ItemTemplate>          
        </asp:TemplateField>
        
         <asp:TemplateField HeaderText="15" HeaderStyle-Width="30px">
        <ItemTemplate> 
           <asp:Label ID="lbl1529" runat="server" Text='<%# Eval("15") %>' Width="30px"></asp:Label>      
        </ItemTemplate>          
        </asp:TemplateField>
        
          <asp:TemplateField HeaderText="16" HeaderStyle-Width="30px">
        <ItemTemplate> 
           <asp:Label ID="lbl1629" runat="server" Text='<%# Eval("16") %>' Width="30px"></asp:Label>      
        </ItemTemplate>          
        </asp:TemplateField>
          <asp:TemplateField HeaderText="17" HeaderStyle-Width="30px">
        <ItemTemplate> 
           <asp:Label ID="lbl1729" runat="server" Text='<%# Eval("17") %>' Width="30px"></asp:Label>      
        </ItemTemplate>          
        </asp:TemplateField>
          <asp:TemplateField HeaderText="18" HeaderStyle-Width="30px">
        <ItemTemplate> 
           <asp:Label ID="lbl1829" runat="server" Text='<%# Eval("18") %>' Width="30px"></asp:Label>      
        </ItemTemplate>          
        </asp:TemplateField>
          <asp:TemplateField HeaderText="19" HeaderStyle-Width="30px">
        <ItemTemplate> 
           <asp:Label ID="lbl1929" runat="server" Text='<%# Eval("19") %>' Width="30px"></asp:Label>      
        </ItemTemplate>          
        </asp:TemplateField>
          <asp:TemplateField HeaderText="20" HeaderStyle-Width="30px">
        <ItemTemplate> 
           <asp:Label ID="lbl2029" runat="server" Text='<%# Eval("20") %>' Width="30px"></asp:Label>      
        </ItemTemplate>          
        </asp:TemplateField>
          <asp:TemplateField HeaderText="21" HeaderStyle-Width="30px">
        <ItemTemplate> 
           <asp:Label ID="lbl2129" runat="server" Text='<%# Eval("21") %>' Width="30px"></asp:Label>      
        </ItemTemplate>          
        </asp:TemplateField>
          <asp:TemplateField HeaderText="22" HeaderStyle-Width="30px">
        <ItemTemplate> 
           <asp:Label ID="lbl2229" runat="server" Text='<%# Eval("22") %>' Width="30px"></asp:Label>      
        </ItemTemplate>          
        </asp:TemplateField>
          <asp:TemplateField HeaderText="23" HeaderStyle-Width="30px">
        <ItemTemplate> 
           <asp:Label ID="lbl2329" runat="server" Text='<%# Eval("23") %>' Width="30px"></asp:Label>      
        </ItemTemplate>          
        </asp:TemplateField>
          <asp:TemplateField HeaderText="24" HeaderStyle-Width="30px">
        <ItemTemplate> 
           <asp:Label ID="lbl2429" runat="server" Text='<%# Eval("24") %>' Width="30px"></asp:Label>      
        </ItemTemplate>          
        </asp:TemplateField>
         <asp:TemplateField HeaderText="25" HeaderStyle-Width="30px">
        <ItemTemplate> 
           <asp:Label ID="lbl2529" runat="server" Text='<%# Eval("25") %>' Width="30px"></asp:Label>      
        </ItemTemplate>          
        </asp:TemplateField>
        
          <asp:TemplateField HeaderText="26" HeaderStyle-Width="30px">
        <ItemTemplate> 
           <asp:Label ID="lbl2629" runat="server" Text='<%# Eval("26") %>' Width="30px"></asp:Label>      
        </ItemTemplate>          
        </asp:TemplateField>
          <asp:TemplateField HeaderText="27" HeaderStyle-Width="30px">
        <ItemTemplate> 
           <asp:Label ID="lbl2729" runat="server" Text='<%# Eval("27") %>' Width="30px"></asp:Label>      
        </ItemTemplate>          
        </asp:TemplateField>
          <asp:TemplateField HeaderText="28" HeaderStyle-Width="30px">
        <ItemTemplate> 
           <asp:Label ID="lbl2829" runat="server" Text='<%# Eval("28") %>' Width="30px"></asp:Label>      
        </ItemTemplate>          
        </asp:TemplateField>
          <asp:TemplateField HeaderText="29" HeaderStyle-Width="30px">
        <ItemTemplate> 
           <asp:Label ID="lbl2929" runat="server" Text='<%# Eval("29") %>' Width="30px"></asp:Label>      
        </ItemTemplate>          
        </asp:TemplateField>
                
        </Columns>
    
       <FooterStyle BackColor="#990000" Font-Bold="True" ForeColor="White" />
                            <PagerStyle BackColor="#FFCC66" ForeColor="#333333" HorizontalAlign="Center" />
                            <SelectedRowStyle BackColor="#FFCC66" Font-Bold="True" ForeColor="Navy" />
                            <HeaderStyle BackColor="#990000" Font-Bold="True" ForeColor="White" HorizontalAlign="Left" />
                            <AlternatingRowStyle BackColor="White" />
    </asp:GridView>
    
    
      <asp:GridView ID="gv_show_attandannce_30days"   runat="server" 
        
       GridLines="Both"
        CellPadding="1" CellSpacing="1" AutoGenerateColumns="false"        
         Width="590px"
                    BackColor="LightGoldenrodYellow" BorderColor="Tan" BorderWidth="1px" 
                    Font-Names="Book Antiqua" Font-Size="11pt" ForeColor="Black" 
        onrowdatabound="gv_show_attandannce_30days_RowDataBound" onrowcreated="gv_show_attandannce_30days_RowCreated" 
        >
                      <RowStyle BackColor="#ffc9bb" ForeColor="#333333" Width="100%" Height="30px"/>
        
        <Columns>
        <asp:TemplateField HeaderText="Employee Name" HeaderStyle-Width="200px">
        <ItemTemplate> 
           <asp:Label ID="Label330" runat="server" Text='<%# Eval("Ename") %>' Width="200px"></asp:Label>      
        </ItemTemplate>          
        </asp:TemplateField>
        
          <asp:TemplateField HeaderText="01" HeaderStyle-Width="30px">
        <ItemTemplate> 
        
         <asp:Label ID="llb_row_id" runat="server" Text='<%# Eval("RowID") %>' Width="30px" Visible="false"></asp:Label>    
         
           <asp:Label ID="lbl0130" runat="server" Text='<%# Eval("01") %>' Width="30px"></asp:Label>      
        </ItemTemplate>          
        </asp:TemplateField>
          <asp:TemplateField HeaderText="02" HeaderStyle-Width="30px">
        <ItemTemplate> 
           <asp:Label ID="lbl0230" runat="server" Text='<%# Eval("02") %>' Width="30px"></asp:Label>      
        </ItemTemplate>          
        </asp:TemplateField>
          <asp:TemplateField HeaderText="03" HeaderStyle-Width="30px">
        <ItemTemplate> 
           <asp:Label ID="lbl0330" runat="server" Text='<%# Eval("03") %>' Width="30px"></asp:Label>      
        </ItemTemplate>          
        </asp:TemplateField>
          <asp:TemplateField HeaderText="04" HeaderStyle-Width="30px">
        <ItemTemplate> 
           <asp:Label ID="lbl0430" runat="server" Text='<%# Eval("04") %>' Width="30px"></asp:Label>      
        </ItemTemplate>          
        </asp:TemplateField>
          <asp:TemplateField HeaderText="05" HeaderStyle-Width="30px">
        <ItemTemplate> 
           <asp:Label ID="lbl0530" runat="server" Text='<%# Eval("05") %>' Width="30px"></asp:Label>      
        </ItemTemplate>          
        </asp:TemplateField>
          <asp:TemplateField HeaderText="06" HeaderStyle-Width="30px">
        <ItemTemplate> 
           <asp:Label ID="lbl0630" runat="server" Text='<%# Eval("06") %>' Width="30px"></asp:Label>      
        </ItemTemplate>          
        </asp:TemplateField>
          <asp:TemplateField HeaderText="07" HeaderStyle-Width="30px">
        <ItemTemplate> 
           <asp:Label ID="lbl0730" runat="server" Text='<%# Eval("07") %>' Width="30px"></asp:Label>      
        </ItemTemplate>          
        </asp:TemplateField>
          <asp:TemplateField HeaderText="08" HeaderStyle-Width="30px">
        <ItemTemplate> 
           <asp:Label ID="lbl0830" runat="server" Text='<%# Eval("08") %>' Width="30px"></asp:Label>      
        </ItemTemplate>          
        </asp:TemplateField>
          <asp:TemplateField HeaderText="09" HeaderStyle-Width="30px">
        <ItemTemplate> 
           <asp:Label ID="lbl0930" runat="server" Text='<%# Eval("09") %>' Width="30px"></asp:Label>      
        </ItemTemplate>          
        </asp:TemplateField>
          <asp:TemplateField HeaderText="10" HeaderStyle-Width="30px">
        <ItemTemplate> 
           <asp:Label ID="lbl1030" runat="server" Text='<%# Eval("10") %>' Width="30px"></asp:Label>      
        </ItemTemplate>          
        </asp:TemplateField>
          <asp:TemplateField HeaderText="11" HeaderStyle-Width="30px">
        <ItemTemplate> 
           <asp:Label ID="lbl1130" runat="server" Text='<%# Eval("11") %>' Width="30px"></asp:Label>      
        </ItemTemplate>          
        </asp:TemplateField>
          <asp:TemplateField HeaderText="12" HeaderStyle-Width="30px">
        <ItemTemplate> 
           <asp:Label ID="lbl1230" runat="server" Text='<%# Eval("12") %>' Width="30px"></asp:Label>      
        </ItemTemplate>          
        </asp:TemplateField>
          <asp:TemplateField HeaderText="13" HeaderStyle-Width="30px">
        <ItemTemplate> 
           <asp:Label ID="lbl1330" runat="server" Text='<%# Eval("13") %>' Width="30px"></asp:Label>      
        </ItemTemplate>          
        </asp:TemplateField>
          <asp:TemplateField HeaderText="14" HeaderStyle-Width="30px">
        <ItemTemplate> 
           <asp:Label ID="lbl1430" runat="server" Text='<%# Eval("14") %>' Width="30px"></asp:Label>      
        </ItemTemplate>          
        </asp:TemplateField>
         <asp:TemplateField HeaderText="15" HeaderStyle-Width="30px">
        <ItemTemplate> 
           <asp:Label ID="lbl1530" runat="server" Text='<%# Eval("15") %>' Width="30px"></asp:Label>      
        </ItemTemplate>          
        </asp:TemplateField>
        
          <asp:TemplateField HeaderText="16" HeaderStyle-Width="30px">
        <ItemTemplate> 
           <asp:Label ID="lbl1630" runat="server" Text='<%# Eval("16") %>' Width="30px"></asp:Label>      
        </ItemTemplate>          
        </asp:TemplateField>
          <asp:TemplateField HeaderText="17" HeaderStyle-Width="30px">
        <ItemTemplate> 
           <asp:Label ID="lbl1730" runat="server" Text='<%# Eval("17") %>' Width="30px"></asp:Label>      
        </ItemTemplate>          
        </asp:TemplateField>
          <asp:TemplateField HeaderText="18" HeaderStyle-Width="30px">
        <ItemTemplate> 
           <asp:Label ID="lbl1830" runat="server" Text='<%# Eval("18") %>' Width="30px"></asp:Label>      
        </ItemTemplate>          
        </asp:TemplateField>
          <asp:TemplateField HeaderText="19" HeaderStyle-Width="30px">
        <ItemTemplate> 
           <asp:Label ID="lbl1930" runat="server" Text='<%# Eval("19") %>' Width="30px"></asp:Label>      
        </ItemTemplate>          
        </asp:TemplateField>
          <asp:TemplateField HeaderText="20" HeaderStyle-Width="30px">
        <ItemTemplate> 
           <asp:Label ID="lbl2030" runat="server" Text='<%# Eval("20") %>' Width="30px"></asp:Label>      
        </ItemTemplate>          
        </asp:TemplateField>
          <asp:TemplateField HeaderText="21" HeaderStyle-Width="30px">
        <ItemTemplate> 
           <asp:Label ID="lbl2130" runat="server" Text='<%# Eval("21") %>' Width="30px"></asp:Label>      
        </ItemTemplate>          
        </asp:TemplateField>
          <asp:TemplateField HeaderText="22" HeaderStyle-Width="30px">
        <ItemTemplate> 
           <asp:Label ID="lbl2230" runat="server" Text='<%# Eval("22") %>' Width="30px"></asp:Label>      
        </ItemTemplate>          
        </asp:TemplateField>
          <asp:TemplateField HeaderText="23" HeaderStyle-Width="30px">
        <ItemTemplate> 
           <asp:Label ID="lbl2330" runat="server" Text='<%# Eval("23") %>' Width="30px"></asp:Label>      
        </ItemTemplate>          
        </asp:TemplateField>
          <asp:TemplateField HeaderText="24" HeaderStyle-Width="30px">
        <ItemTemplate> 
           <asp:Label ID="lbl2430" runat="server" Text='<%# Eval("24") %>' Width="30px"></asp:Label>      
        </ItemTemplate>          
        </asp:TemplateField>
         <asp:TemplateField HeaderText="25" HeaderStyle-Width="30px">
        <ItemTemplate> 
           <asp:Label ID="lbl2530" runat="server" Text='<%# Eval("25") %>' Width="30px"></asp:Label>      
        </ItemTemplate>          
        </asp:TemplateField>
        
          <asp:TemplateField HeaderText="26" HeaderStyle-Width="30px">
        <ItemTemplate> 
           <asp:Label ID="lbl2630" runat="server" Text='<%# Eval("26") %>' Width="30px"></asp:Label>      
        </ItemTemplate>          
        </asp:TemplateField>
          <asp:TemplateField HeaderText="27" HeaderStyle-Width="30px">
        <ItemTemplate> 
           <asp:Label ID="lbl2730" runat="server" Text='<%# Eval("27") %>' Width="30px"></asp:Label>      
        </ItemTemplate>          
        </asp:TemplateField>
          <asp:TemplateField HeaderText="28" HeaderStyle-Width="30px">
        <ItemTemplate> 
           <asp:Label ID="lbl2830" runat="server" Text='<%# Eval("28") %>' Width="30px"></asp:Label>      
        </ItemTemplate>          
        </asp:TemplateField>
          <asp:TemplateField HeaderText="29" HeaderStyle-Width="30px">
        <ItemTemplate> 
           <asp:Label ID="lbl2930" runat="server" Text='<%# Eval("29") %>' Width="30px"></asp:Label>      
        </ItemTemplate>          
        </asp:TemplateField>
          <asp:TemplateField HeaderText="30" HeaderStyle-Width="30px">
        <ItemTemplate> 
           <asp:Label ID="lbl3030" runat="server" Text='<%# Eval("30") %>' Width="30px"></asp:Label>      
        </ItemTemplate>          
        </asp:TemplateField>
        
        </Columns>
    
       <FooterStyle BackColor="#990000" Font-Bold="True" ForeColor="White" />
                            <PagerStyle BackColor="#FFCC66" ForeColor="#333333" HorizontalAlign="Center" />
                            <SelectedRowStyle BackColor="#FFCC66" Font-Bold="True" ForeColor="Navy" />
                            <HeaderStyle BackColor="#990000" Font-Bold="True" ForeColor="White" HorizontalAlign="Left" />
                            <AlternatingRowStyle BackColor="White" />
    </asp:GridView>--%>
    
   <div style="width:590px;margin-top:15px;"> 
   <div style="float:left;">
    <asp:Button ID="btn_previus" runat="server" Text="Previous" CssClass="myButton" 
        onclick="btn_previus_Click" />
        </div>
        <div style="float:right;">
    <asp:Button ID="btn_next"
        runat="server" Text="Next" CssClass="myButton" onclick="btn_next_Click" />
    </div>
    </div>
    </asp:Panel>
<%-- </ContentTemplate>
 </asp:UpdatePanel>--%>
</asp:Content>

