-
Notifications
You must be signed in to change notification settings - Fork 7
/
getquoteadd.aspx
174 lines (168 loc) · 7.16 KB
/
getquoteadd.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
<%@ Page Title="Get Quote" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="getquoteadd.aspx.cs" Inherits="Analytics.getquoteadd" %>
<asp:Content ID="Content1" ContentPlaceHolderID="MainContent" runat="server">
<table style="width: 100%; border: solid; border-width: 1px; margin-top:2%;">
<tr style="border: solid; border-width: 1px;">
<td colspan="3" style="width: 100%; text-align: center; border: solid; border-width: 1px; border-color: black;">
<asp:Label ID="Label1" runat="server" Font-Size="Large" Text="Add Stock to portfolio"></asp:Label>
</td>
</tr>
<tr>
<td colspan="3" style="width: 100%; text-align: center;">
<asp:Label runat="server"> </asp:Label>
</td>
</tr>
<tr>
<td style="width: 25%; text-align: right;">
<asp:Label ID="Label2" runat="server" Text="Search Stock to add:"></asp:Label>
</td>
<td style="width: 20%;">
<asp:TextBox ID="TextBoxSearch" runat="server" Width="90%" TabIndex="1"></asp:TextBox><br />
</td>
<td style="width: 20%;">
<asp:Button ID="ButtonSearch" runat="server" Text="Search" OnClick="ButtonSearch_Click" TabIndex="2" /><br />
</td>
</tr>
<tr>
<td colspan="3" style="text-align: center;">
<asp:DropDownList ID="DropDownListStock" runat="server" OnSelectedIndexChanged="DropDownListStock_SelectedIndexChanged" AutoPostBack="True" TabIndex="3"></asp:DropDownList>
</td>
</tr>
<tr>
<td style="width: 25%; text-align: right;">
<asp:Label ID="Label8" runat="server" Text="Selected Stock:"></asp:Label>
</td>
<td colspan="2" style="text-align: left;">
<asp:Label ID="labelSelectedSymbol" runat="server" Text=""></asp:Label>
</td>
</tr>
<tr>
<td style="width: 25%; text-align: right;"></td>
<td colspan="2">
<asp:Button ID="ButtonGetQuote" runat="server" Text="Get Quote" OnClick="ButtonGetQuote_Click" />
</td>
</tr>
</table>
<%--<hr />--%>
<table style="width: 100%; border: solid; border-width: 1px;margin-top:1%;">
<tr>
<td style="width: 38%; text-align: right;">
<asp:Label ID="Label3" runat="server" Text="Open:"></asp:Label>
</td>
<td>
<asp:TextBox ID="textboxOpen" runat="server" ReadOnly="true"></asp:TextBox><br />
</td>
</tr>
<tr>
<td style="width: 38%; text-align: right;">
<asp:Label ID="Label4" runat="server" Text="High:"></asp:Label>
</td>
<td>
<asp:TextBox ID="textboxHigh" runat="server" ReadOnly="true"></asp:TextBox><br />
</td>
</tr>
<tr>
<td style="width: 38%; text-align: right;">
<asp:Label ID="Label5" runat="server" Text="Low:"></asp:Label>
</td>
<td>
<asp:TextBox ID="textboxLow" runat="server" ReadOnly="true"></asp:TextBox><br />
</td>
</tr>
<tr>
<td style="width: 38%; text-align: right;">
<asp:Label ID="Label6" runat="server" Text="Price:"></asp:Label>
</td>
<td>
<asp:TextBox ID="textboxPrice" runat="server" ReadOnly="true"></asp:TextBox><br />
</td>
</tr>
<tr>
<td style="width: 38%; text-align: right;">
<asp:Label ID="Label7" runat="server" Text="Volume:"></asp:Label>
</td>
<td>
<asp:TextBox ID="textboxVolume" runat="server" ReadOnly="true"></asp:TextBox><br />
</td>
</tr>
<tr>
<td style="width: 38%; text-align: right;">
<asp:Label ID="Label9" runat="server" Text="Latest Day:"></asp:Label>
</td>
<td>
<asp:TextBox ID="textboxLatestDay" runat="server" ReadOnly="true"></asp:TextBox><br />
</td>
</tr>
<tr>
<td style="width: 38%; text-align: right;">
<asp:Label ID="Label10" runat="server" Text="Prev Close:"></asp:Label>
</td>
<td>
<asp:TextBox ID="textboxPrevClose" runat="server" ReadOnly="true"></asp:TextBox><br />
</td>
</tr>
<tr>
<td style="width: 38%; text-align: right;">
<asp:Label ID="Label11" runat="server" Text="Change:"></asp:Label>
</td>
<td>
<asp:TextBox ID="textboxChange" runat="server" ReadOnly="true"></asp:TextBox><br />
</td>
</tr>
<tr>
<td style="width: 38%; text-align: right;">
<asp:Label ID="Label12" runat="server" Text="Change Percent:"></asp:Label>
</td>
<td>
<asp:TextBox ID="textboxChangePercent" runat="server" ReadOnly="true"></asp:TextBox><br />
</td>
</tr>
<tr>
<td style="width: 38%; text-align: right;">
<asp:Label ID="Label13" runat="server" Text="Exchange Code:"></asp:Label>
</td>
<td>
<asp:TextBox ID="textboxExch" runat="server" ReadOnly="true"></asp:TextBox>
</td>
</tr>
<tr>
<td style="width: 38%; text-align: right;">
<asp:Label ID="Label14" runat="server" Text="Exchange Name:"></asp:Label>
</td>
<td>
<asp:TextBox ID="textboxExchDisp" runat="server" ReadOnly="true"></asp:TextBox>
</td>
</tr>
<tr>
<td style="width: 38%; text-align: right;">
<asp:Label ID="Label15" runat="server" Text="Type:"></asp:Label>
</td>
<td>
<asp:TextBox ID="textboxType" runat="server" ReadOnly="true"></asp:TextBox>
</td>
</tr>
<tr>
<td style="width: 38%; text-align: right;">
<asp:Label ID="Label16" runat="server" Text="Type Name:"></asp:Label>
</td>
<td>
<asp:TextBox ID="textboxTypeDisp" runat="server" ReadOnly="true"></asp:TextBox>
</td>
</tr>
<%-- <tr>
<td></td>
<td></td>
</tr>--%>
</table>
<table style="width: 100%;margin-top:1%;">
<tr>
<td style="width: 25%; text-align: right;">
<asp:Button ID="buttonAddStock" runat="server" Text="Add to Portfolio" OnClick="buttonAddStock_Click" />
</td>
<td style="width: 2%;"></td>
<td style="width: 8%;">
<asp:Button ID="buttonGoBack" runat="server" Text="Back" OnClick="buttonGoBack_Click" />
</td>
<td style="width: 20%;"></td>
</tr>
</table>
</asp:Content>