-
Notifications
You must be signed in to change notification settings - Fork 0
/
details.aspx
177 lines (171 loc) · 11.9 KB
/
details.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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
<%@ Page Title="" Language="C#" MasterPageFile="~/main.Master" AutoEventWireup="true" CodeBehind="details.aspx.cs" Inherits="DB_Prpject.details" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
<div class="col" style="font-size: x-large; color: #0000FF;">
<center>
<br />
Details<br />
<br />
</center>
</div>
<div class="row" runat="server" ID="ssd">
<center>
<asp:SqlDataSource ID="SqlDataSource1" runat="server"></asp:SqlDataSource>
<br />
<asp:GridView class="table table-striped table-bordered" ID="GridView1" runat="server" AutoGenerateColumns="False" DataKeyNames="SSD_ID" AllowSorting="True" Width="1153px">
<Columns>
<asp:BoundField DataField="SSD_ID" HeaderText="SSD_ID" SortExpression="SSD_ID" ReadOnly="True" >
<ControlStyle Font-Bold="True" />
<ItemStyle Font-Bold="True" />
</asp:BoundField>
<asp:TemplateField>
<ItemTemplate>
<div class="container-fluid">
<div class="row">
<div class="col-lg-10">
<div class="row">
<div class="col-12">
<asp:Label ID="Label1" runat="server" Text='<%# Eval("Brand") %>' Font-Bold="True" Font-Size="X-Large"></asp:Label>
</div>
</div>
<div class="row">
<div class="col-12">
<span>Size - </span>
<asp:Label ID="Label2" runat="server" Font-Bold="True" Text='<%# Eval("Size") %>'></asp:Label>
| <span><span> </span>Price - </span>
<asp:Label ID="Label3" runat="server" Font-Bold="True" Text='<%# Eval("Price") %>'></asp:Label>
|
<span>
Stock -<span> </span>
<asp:Label ID="Label4" runat="server" Font-Bold="True" Text='<%# Eval("Stock") %>'></asp:Label>
</span>
</div>
</div>
</div>
<div class="col-lg-2">
<asp:Image class="img-fluid" ID="Image1" runat="server" ImageUrl='<%# Eval("SSD_Pic") %>' />
</div>
</div>
</div>
</ItemTemplate>
</asp:TemplateField>
</Columns>
</asp:GridView>
<br />
</center>
</div>
<%-- ///////////////////////////////--%>
<div class="row" runat="server" id="laptop">
<center>
<div class="col">
<asp:GridView class="table table-striped table-bordered" ID="GridView2" runat="server" AutoGenerateColumns="False" DataKeyNames="Laptop_ID" AllowSorting="True">
<Columns>
<asp:BoundField DataField="Laptop_ID" HeaderText="Laptop_ID" SortExpression="Laptop_ID" ReadOnly="True" >
<ControlStyle Font-Bold="True" />
<ItemStyle Font-Bold="True" />
</asp:BoundField>
<asp:TemplateField>
<ItemTemplate>
<div class="container-fluid">
<div class="row">
<div class="col-lg-10">
<div class="row">
<div class="col-12">
<asp:Label ID="Label1" runat="server" Text='<%# Eval("Laptop_Name") %>' Font-Bold="True" Font-Size="X-Large"></asp:Label>
</div>
</div>
<div class="row">
<div class="col-12">
<span>Brand - </span>
<asp:Label ID="Label2" runat="server" Font-Bold="True" Text='<%# Eval("Brand") %>'></asp:Label>
| <span><span> </span>Generation - </span>
<asp:Label ID="Label3" runat="server" Font-Bold="True" Text='<%# Eval("Generation") %>'></asp:Label>
|
<span>
Processor -<span> </span>
<asp:Label ID="Label4" runat="server" Font-Bold="True" Text='<%# Eval("Proceesor") %>'></asp:Label>
</span>
</div>
</div>
<div class="row">
<div class="col-12">
RAM -
<asp:Label ID="Label5" runat="server" Font-Bold="True" Text='<%# Eval("RAM") %>'></asp:Label>
| HDD -
<asp:Label ID="Label6" runat="server" Font-Bold="True" Text='<%# Eval("HDD") %>'></asp:Label>
| SSD -
<asp:Label ID="Label7" runat="server" Font-Bold="True" Text='<%# Eval("SSD") %>'></asp:Label>
</div>
</div>
<div class="row">
<div class="col-12">
Price -
<asp:Label ID="Label9" runat="server" Font-Bold="True" Text='<%# Eval("Price") %>'></asp:Label>
| Stock -
<asp:Label ID="Label10" runat="server" Font-Bold="True" Text='<%# Eval("Stock") %>'></asp:Label>
</div>
</div>
</div>
<div class="col-lg-2">
<asp:Image class="img-fluid" ID="Image1" runat="server" ImageUrl='<%# Eval("Laptop_Pic") %>' />
</div>
</div>
</div>
</ItemTemplate>
</asp:TemplateField>
</Columns>
</asp:GridView>
</div>
</center>
</div>
<br />
<%--//////////////////--%><div class="col" runat="server" id="ram">
<center>
<asp:GridView class="table table-striped table-bordered" ID="GridView3" runat="server" AutoGenerateColumns="False" DataKeyNames="RAM_ID" AllowSorting="True">
<Columns>
<asp:BoundField DataField="RAM_ID" HeaderText="RAM_ID" SortExpression="RAM_ID" ReadOnly="True" >
<ControlStyle Font-Bold="True" />
<ItemStyle Font-Bold="True" />
</asp:BoundField>
<asp:TemplateField>
<ItemTemplate>
<div class="container-fluid">
<div class="row">
<div class="col-lg-10">
<div class="row">
<div class="col-12">
<asp:Label ID="Label1" runat="server" Text='<%# Eval("Brand") %>' Font-Bold="True" Font-Size="X-Large"></asp:Label>
</div>
</div>
<div class="row">
<div class="col-12">
<span>Size - </span>
<asp:Label ID="Label2" runat="server" Font-Bold="True" Text='<%# Eval("Size") %>'></asp:Label>
| <span><span>
<span>DDR - </span>
<asp:Label ID="Label5" runat="server" Font-Bold="True" Text='<%# Eval("DDR_Version") %>'></asp:Label>
| <span><span>
</span>Price - </span>
<asp:Label ID="Label3" runat="server" Font-Bold="True" Text='<%# Eval("Price") %>'></asp:Label>
|
<span>
Stock -<span> </span>
<asp:Label ID="Label4" runat="server" Font-Bold="True" Text='<%# Eval("Stock") %>'></asp:Label>
</span>
</div>
</div>
</div>
<div class="col-lg-2">
<asp:Image class="img-fluid" ID="Image1" runat="server" ImageUrl='<%# Eval("RAM_Pic") %>' />
</div>
</div>
</div>
</ItemTemplate>
</asp:TemplateField>
</Columns>
</asp:GridView>
<br />
</center>
</div>
</asp:Content>