-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathYourlist.aspx
74 lines (65 loc) · 3.89 KB
/
Yourlist.aspx
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="Yourlist.aspx.cs" Inherits="Yourlist" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="main" runat="Server">
<!--main sub page heading-->
<section id="page-head">
<div class="container">
<div class="row col-md-12">
<div class="page-heading">
<h1>Your AD List</h1>
<h4>Easy & a simple way to edit</h4>
</div>
</div>
</div>
</section>
<!--end main page heading-->
<!--Detail -->
<section id="detail">
<div class="container">
<form runat="server">
<div class="row">
<div class="col-md-12 table-responsive">
<asp:GridView ID="gvListView" runat="server" CssClass="table table-bordered table-hover" EmptyDataText="No Records Found !" AllowSorting="true" ShowHeaderWhenEmpty="true" AutoGenerateColumns="false">
<Columns>
<asp:BoundField DataField="SNO" HeaderText="S.No" />
<asp:BoundField DataField="title" HeaderText="Title" />
<asp:BoundField DataField="tagline" HeaderText="Tagline" />
<asp:BoundField DataField="address" HeaderText="Address" />
<asp:BoundField DataField="country" HeaderText="Country" />
<asp:BoundField DataField="state" HeaderText="State" />
<asp:BoundField DataField="city" HeaderText="City" />
<asp:BoundField DataField="zipcode" HeaderText="Zipcode" />
<asp:BoundField DataField="mob" HeaderText="Mobile" />
<asp:BoundField DataField="email" HeaderText="Email" />
<%-- <asp:TemplateField HeaderStyle-Width="20px" ItemStyle-Width="20px">
<ItemTemplate>
<asp:LinkButton ID="btnEdit" runat="server" OnCommand="btnEdit_Command"
CssClass="btn btn-icon btn-primary" CommandArgument='<%# Eval("SYS_ID") %>'>
<i class="fa fa-pencil"></i></asp:LinkButton>
</ItemTemplate>
<ItemStyle HorizontalAlign="Center" />
</asp:TemplateField>--%>
<asp:TemplateField HeaderStyle-Width="20px" ItemStyle-Width="20px">
<ItemTemplate>
<asp:LinkButton ID="btnDelete" runat="server" OnCommand="btnDelete_Command"
OnClientClick="return Confirm_Msg(this,'Are you sure do you want to Delete this record..?');"
CssClass="btn btn-icon btn-danger" CommandArgument='<%# Eval("SYS_ID") %>'>
<i class="fa fa-trash-o"></i></asp:LinkButton>
</ItemTemplate>
<ItemStyle HorizontalAlign="Center" />
</asp:TemplateField>
</Columns>
</asp:GridView>
</div>
</div>
</form>
</div>
</section>
<!--end details-->
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="foot" runat="Server">
<script src="https://code.jquery.com/jquery-3.2.1.min.js"></script>
<script src="js/list.js"></script>
<script src="js/CountryStateCity.js"></script>
</asp:Content>