-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathWebForm5.aspx
More file actions
82 lines (63 loc) · 3.14 KB
/
WebForm5.aspx
File metadata and controls
82 lines (63 loc) · 3.14 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
74
75
76
77
78
79
80
81
82
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="WebForm5.aspx.cs" Inherits="WebApplication2.WebForm5" %>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title></title>
</head>
<body>
<form id="form1" runat="server">
<asp:TextBox ID="TextBox1" runat="server" Height="59px" Width="279px" OnTextChanged="TextBox1_TextChanged"></asp:TextBox>
<br />
<br />
<br />
<asp:Button ID="Button1" runat="server" OnClick="Button1_Click" Text="fetch product" Width="298px" Height="64px" />
<br />
<asp:TextBox ID="TextBox2" runat="server"></asp:TextBox>
<asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" CssClass="table" OnRowDataBound="GridView1_RowDataBound" OnSelectedIndexChanged="GridView1_SelectedIndexChanged" BackColor="White" BorderColor="#E7E7FF" BorderStyle="None" BorderWidth="1px" CellPadding="3" GridLines="Horizontal" Height="118px" Width="1129px">
<AlternatingRowStyle BackColor="#F7F7F7" />
<Columns>
<asp:BoundField DataField="P_Id" HeaderText="Product ID" />
<asp:BoundField DataField="P_name" HeaderText="Product Name" />
<asp:BoundField DataField="Catagory" HeaderText="Catagory" />
<asp:BoundField DataField="Sell_Price" HeaderText="Selling Price" />
<asp:TemplateField HeaderText="Quantity">
<ItemTemplate>
<asp:TextBox ID="txtQuantity" runat="server" CssClass="quantity"
AutoPostBack="true" OnTextChanged="txtQuantity_TextChanged"></asp:TextBox>
</ItemTemplate>
</asp:TemplateField>
<asp:TemplateField HeaderText="Total Price">
<ItemTemplate>
<asp:Label ID="lblTotal" runat="server" Text="0"></asp:Label>
</ItemTemplate>
</asp:TemplateField>
</Columns>
<FooterStyle BackColor="#B5C7DE" ForeColor="#4A3C8C" />
<HeaderStyle BackColor="#4A3C8C" Font-Bold="True" ForeColor="#F7F7F7" />
<PagerStyle BackColor="#E7E7FF" ForeColor="#4A3C8C" HorizontalAlign="Right" />
<RowStyle BackColor="#E7E7FF" ForeColor="#4A3C8C" />
<SelectedRowStyle BackColor="#738A9C" Font-Bold="True" ForeColor="#F7F7F7" />
<SortedAscendingCellStyle BackColor="#F4F4FD" />
<SortedAscendingHeaderStyle BackColor="#5A4C9D" />
<SortedDescendingCellStyle BackColor="#D8D8F0" />
<SortedDescendingHeaderStyle BackColor="#3E3277" />
</asp:GridView>
<asp:Label ID="lblMessage" runat="server" CssClass="auto-style2" Height="34px" Width="264px" style="z-index: 1; position: absolute; top: 491px; left: 960px"></asp:Label>
<br />
<asp:Button ID="Button2" runat="server" Text="ok" Width="207px" Height="52px" OnClick="Button2_Click" />
<br />
<br />
<br />
<asp:Button ID="Button3" runat="server" OnClick="Button3_Click" Text="print bill" />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<div>
</div>
</form>
</body>
</html>