-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathTotal.aspx
More file actions
73 lines (65 loc) · 3.17 KB
/
Copy pathTotal.aspx
File metadata and controls
73 lines (65 loc) · 3.17 KB
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" CodeBehind="Total.aspx.cs" Inherits="ConsumablesPortal.Total" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
<script type="text/javascript">
$(document).ready(function () {
$(".table").prepend($("<thead></thead>").append($(this).find("tr:first"))).dataTable();
});
</script>
<style>
body {
background-image: url('imgs/HaziraNew.jpg'); /* Replace with your image path */
background-size: cover;
background-position: center;
background-repeat: no-repeat;
background-attachment: fixed;
}
.table {
background-color: rgba(255, 255, 255, 1); /* Slightly transparent white background */
padding: 20px; /* Add some padding for better visual */
border-radius: 10px; /* Optional: rounded corners */
box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.2); /* Optional: add some shadow for better visibility */
}
</style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
<div class="row mx-1 my-5 justify-content-center text-center">
<div class="col-12">
<i>
<h1>
Final Quantity Report
</h1>
</i>
</div>
</div>
<div style="display: flex; justify-content: center; align-items: center; height: auto">
<asp:GridView class="table table-responsive table-striped table-bordered" ID="GridView1" runat="server" AutoGenerateColumns="false">
<Columns>
<asp:TemplateField HeaderText="Sr No." SortExpression="Sr No.">
<ItemTemplate>
<%# Container.DataItemIndex + 1 %>
</ItemTemplate>
</asp:TemplateField>
<asp:TemplateField HeaderText="Item Name" SortExpression="Item Name">
<ItemTemplate>
<asp:Label ID="Label1" runat="server" Text='<%# Bind("item_name") %>'></asp:Label>
</ItemTemplate>
</asp:TemplateField>
<asp:TemplateField HeaderText="Item Make" SortExpression="Item Make">
<ItemTemplate>
<asp:Label ID="Label2" runat="server" Text='<%# Bind("item_make") %>'></asp:Label>
</ItemTemplate>
</asp:TemplateField>
<asp:TemplateField HeaderText="Item Model" SortExpression="Item Model">
<ItemTemplate>
<asp:Label ID="Label3" runat="server" Text='<%# Bind("item_model") %>'></asp:Label>
</ItemTemplate>
</asp:TemplateField>
<asp:TemplateField HeaderText="Total Quantity" SortExpression="Total Quantity">
<ItemTemplate>
<asp:Label ID="Label6" runat="server" Text='<%# Bind("total_qty") %>'></asp:Label>
</ItemTemplate>
</asp:TemplateField>
</Columns>
</asp:GridView>
</div>
</asp:Content>