Server IP : 103.6.199.200 / Your IP : 18.191.93.18 Web Server : Microsoft-IIS/10.0 System : Windows NT EMPUSA 10.0 build 20348 (Windows Server 2016) i586 User : EMPUSA$ ( 0) PHP Version : 7.4.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : C:/Domains/airzones/mpos.airzone.sg/wwwroot/ |
Upload File : |
<%@ Page Language="C#" AutoEventWireup="true" MasterPageFile="~/APOS.Master" CodeBehind="AnnualPassView.aspx.cs" Inherits="Megazip.AnnualPassView" %> <asp:Content ContentPlaceHolderID="Content_Admin" ID="Body" runat="server"> <ul class="breadcrumb push-down-0"> <li><a href="#">SuperAdmin</a></li> <li class="active">Annual Pass View</li> </ul> <div class="page-content-wrap"> <form id="Form1" runat="server"> <!-- START PANELS WITH CONTROLS --> <div class="row"> <div class="col-md-12"> <div class="panel panel-success panel-hidden-controls"> <div class="panel-heading"> <h3 class="panel-title"> Annual Pass View</h3> <ul class="panel-controls"> <li><a href="#" class="panel-fullscreen"><span class="fa fa-expand"></span></a></li> <li class="dropdown"><a href="#" class="dropdown-toggle" data-toggle="dropdown"><span class="fa fa-cog"></span></a> <ul class="dropdown-menu"> <li><a href="#" class="panel-collapse"><span class="fa fa-angle-down"></span>Collapse</a></li> <li><a href="#" class="panel-refresh"><span class="fa fa-refresh"></span>Refresh</a></li> </ul> </li> <li><a href="#" class="panel-remove"><span class="fa fa-times"></span></a></li> </ul> <div class="pull-right"> <asp:Button ID="btnAdd" Text="Add New" runat="server" class="btn btn-info" onclick="btnAdd_Click" /> <%--<a href="Category.aspx" class="btn btn-success">Add New</a>--%> </div> </div> <div class="page-content-wrap table-responsive"> <div class="panel-body"> <asp:GridView ID="PassView" runat="server" CssClass="table datatable" AutoPostBack="True" AutoGenerateColumns="False" onrowcommand="PassView_RowCommand" onrowdeleting="PassView_RowDeleting" onrowediting="PassView_RowEditing" onselectedindexchanged="PassView_SelectedIndexChanged" > <Columns> <asp:BoundField DataField="PassID" HeaderText="Pass ID"></asp:BoundField> <asp:BoundField DataField="Name" HeaderText="Name"></asp:BoundField> <asp:BoundField DataField="PassType" HeaderText="Pass Type"></asp:BoundField> <asp:BoundField DataField="IssueDate" HeaderText="Issue Date" DataFormatString = "{0:yyyy-MM-dd}"></asp:BoundField> <asp:BoundField DataField="ExpiryDate" HeaderText="Expiry Date" DataFormatString = "{0:yyyy-MM-dd}"></asp:BoundField> <%--<asp:BoundField DataField="ICNumber" HeaderText="IC Number"></asp:BoundField>--%> <asp:BoundField DataField="TotalPass" HeaderText="Total Pass"></asp:BoundField> <asp:BoundField DataField="NoofPassUsed" HeaderText="No of Pass Used"></asp:BoundField> <asp:BoundField DataField="BalancePass" HeaderText="Balance Pass"></asp:BoundField> <asp:BoundField DataField="Status" HeaderText="Status"></asp:BoundField> <asp:TemplateField HeaderText="Control"> <ItemTemplate> <asp:LinkButton ID="lbtnEdit" runat="server" CommandArgument='<%# Eval("PassID") %>' class="btn btn-primary clickMe fa fa-edit" CommandName="Edit"></asp:LinkButton> <asp:LinkButton ID="lbtnDelete" runat="server" CssClass="btn btn-primary clickMe fa fa-trash-o" CommandArgument='<%# Eval("PassID") %>' CommandName="Delete"></asp:LinkButton> </ItemTemplate> </asp:TemplateField> </Columns> <AlternatingRowStyle BackColor="#F3F5F8" /> </asp:GridView> <div class="pull-right"> <asp:Button ID="btnExport" runat="server" class="btn btn-success" style="margin-top: 14px;" Text="Export To Excel" onclick="btnExport_Click1" /> </div> </div> </div> </div> </div> </div> </form> </div> </asp:Content>