<%@ Page Title="" Language="C#" MasterPageFile="~/Site1.Master" AutoEventWireup="true" CodeBehind="provident_fund_index.aspx.cs" Inherits="HRMS.Provident_Fund.provident_fund_index" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <div class="main-panel">
        <div class="row">
            <div class="col-md-12">
                <section class="panel">
                     <header class="panel-heading" style="padding-bottom:30px">
                           <span class="label label-primary">List Of Opening</span>
                    
                        <div class ="pull-right">
                            <asp:Button  CssClass="btn btn-info" ID ="btn_addnew" Text ="New Record" 
                                runat="server" onclick="btn_addnew_Click" />
                       </div>
                    </header>
                    <div class="panel-body">
                        <div class="span6">
                                <div id="divmessage" runat="server" visible="false" class="alert alert-info alert-dismissable">
                                    <asp:label text="" ID="lbl_msg" CssClass="msg" runat="server"></asp:label>
                                </div>
                            </div>

                            <div class="span6">
                                <div id="diverrmessage" runat="server" visible="false" class="alert alert-info alert-dismissable">
                                    <asp:label text="" id="lbl_err_msg" CssClass="msg" runat="server"></asp:label>
                                    
                                </div>
                            </div>


                            <asp:GridView ID="GridView1" CssClass="display" CellPadding="0" border="0" 
                            runat="server" AutoGenerateColumns="False" onrowcommand="GridView1_RowCommand">
                                <Columns>
                                    <asp:BoundField DataField="FND_OPN_BAL_ID" HeaderText="ID" />
                                    <asp:BoundField DataField="OPEN_TYPE" HeaderText="Name" />

                                    <asp:TemplateField HeaderText ="Action">
                       <ItemTemplate>
                            <asp:LinkButton runat="server" id="linkbtn" CommandName="iedit">
                                <span class ="fa  fa-pencil" style="font-size:20px"></span>
                            </asp:LinkButton>&nbsp&nbsp&nbsp   
                           <asp:LinkButton  runat ="server" ID="lnkbtn" CommandName="idelete">
                               <span class ="fa fa-trash" style="font-size:20px"></span>
                           </asp:LinkButton>
                        </ItemTemplate>
                    </asp:TemplateField>
                                </Columns>
                                <FooterStyle CssClass="footerStyle" />
                            <HeaderStyle CssClass="headerStyle" />
                            <RowStyle CssClass="rowStyle" />
                            </asp:GridView>

                               <script src="/ThemeScrips/Datatables/media/js/jquery.js" type="text/javascript"></script>
                    <script src="/ThemeScrips/Datatables/media/js/jquery.datatables.min.js" type="text/javascript"></script>
                    <script src="/ThemeScrips/Datatables/media/js/jquery.Datatables.js" type="text/javascript"></script>
                    <script src="/ThemeScrips/Datatables/media/js/GridviewFix.js" type="text/javascript"></script>
                    <script type="text/javascript">
                        $("#ContentPlaceHolder1_GridView1").GridviewFix().dataTable();
                    </script>
                    </div>

                </section>
            </div>
        </div>
    </div>
</asp:Content>
