-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDefault8.aspx
99 lines (95 loc) · 5.96 KB
/
Default8.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
<%@ Page Title="" Language="VB" MasterPageFile="~/Site.master" AutoEventWireup="false" CodeFile="Default8.aspx.vb" Inherits="Default8" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" Runat="Server">
<style type="text/css">
.style1
{
width: 30px;
}
</style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" Runat="Server">
<div>
<br />
<br />
</div>
<div style="background-color: #FFFF66">
<table>
<tr>
<td>
<asp:Image ID="Image1" runat="server" Height="200px" Width="337px" />
</td>
<td>
<asp:Label ID="Label2" runat="server" Font-Bold="True"
Font-Names="Comic Sans MS" Font-Size="Large"></asp:Label>
</td>
<td>
<asp:Label ID="Label1" runat="server" Text="Quantity" Font-Bold="True"></asp:Label>
<asp:TextBox ID="TextBox2" runat="server" Width="33px"></asp:TextBox>
</td>
<td class="style1">
</td>
</tr>
</table>
</div>
<br /> <asp:Button ID="button2" runat="server" Text="Add to Cart"
BackColor="#DAC09E" Font-Bold="True" Font-Names="Comic Sans MS"
Font-Size="Medium" ForeColor="Black" ></asp:Button>
<asp:Button ID="button3" runat="server" Text="Look for More"
Width="150px" BackColor="#DAC09E" Font-Bold="True"
Font-Names="Comic Sans MS" Font-Size="Medium" ForeColor="Black" ></asp:Button>
<asp:Button ID="button4" runat="server" Text="Check OUT" Width="100px"
BackColor="#DAC09E" Font-Bold="True" Font-Names="Comic Sans MS"
Font-Size="Medium" ForeColor="Black" ></asp:Button>
<br />
<br />
<br />
<asp:Label ID="Label3" runat="server"
Text="Your Cart" Font-Bold="True" Font-Names="Comic Sans MS" Font-Size="Large"></asp:Label>
<br />
<asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False"
CellPadding="2" DataSourceID="SqlDataSource1" ForeColor="Black"
GridLines="None" Width="1062px" Height="200px"
BackColor="LightGoldenrodYellow" BorderColor="Tan" BorderWidth="1px">
<AlternatingRowStyle BackColor="PaleGoldenrod" />
<Columns>
<asp:BoundField DataField="slno" HeaderText="Serial no."
SortExpression="slno" />
<asp:BoundField DataField="pid" HeaderText="Product id" SortExpression="pid" />
<asp:BoundField DataField="brand" HeaderText="Brand" SortExpression="brand" />
<asp:BoundField DataField="pname" HeaderText="Product" SortExpression="pname" />
<asp:BoundField DataField="qty" HeaderText="Qty" SortExpression="qty" />
<asp:BoundField DataField="weight" HeaderText="Weight"
SortExpression="weight" />
<asp:BoundField DataField="unit" HeaderText="Unit" SortExpression="unit" />
<asp:BoundField DataField="mrp" HeaderText="Price" SortExpression="mrp" />
<asp:BoundField DataField="taxp" HeaderText="Tax%" SortExpression="taxp" />
<asp:BoundField DataField="sname" HeaderText="Supplied by"
SortExpression="sname" />
<asp:BoundField DataField="netamt" HeaderText="Net Amount"
SortExpression="netamt" />
</Columns>
<FooterStyle BackColor="Tan" />
<HeaderStyle BackColor="Tan" Font-Bold="True" />
<PagerStyle BackColor="PaleGoldenrod" ForeColor="DarkSlateBlue"
HorizontalAlign="Center" />
<SelectedRowStyle BackColor="DarkSlateBlue" ForeColor="GhostWhite" />
<SortedAscendingCellStyle BackColor="#FAFAE7" />
<SortedAscendingHeaderStyle BackColor="#DAC09E" />
<SortedDescendingCellStyle BackColor="#E1DB9C" />
<SortedDescendingHeaderStyle BackColor="#C2A47B" />
</asp:GridView>
<asp:SqlDataSource ID="SqlDataSource1" runat="server"
ConnectionString="<%$ ConnectionStrings:vgdbConnectionString %>"
SelectCommand="SELECT [slno], [pid], [brand], [pname], [qty], [unit], [weight], [mrp], [taxp], [sname], [netamt] FROM [order_tmp]">
</asp:SqlDataSource>
<p>
<br />
</p>
</asp:Content>