-
Notifications
You must be signed in to change notification settings - Fork 0
/
Default.aspx
38 lines (35 loc) · 1.46 KB
/
Default.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
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title></title>
</head>
<body>
<form id="form1" runat="server">
<div>
Access Token:
<asp:TextBox Text="" ID="tbAccessToken" runat="server" Width ="200px"/>
<asp:Button Text="Connect" ID="btnOAuthConnect" runat="server" OnClick="btnOAuthConnect_Click"/>
</div>
<fieldset style="width: 800px">
<div>
Search products by:
<asp:DropDownList ID="productSearchDD" runat="server">
<asp:ListItem Value="Country" Selected="True">
Country
</asp:ListItem>
<asp:ListItem Value="Category" Selected="False">
Category
</asp:ListItem>
</asp:DropDownList>
<asp:TextBox Text="" ID="tbSearch" runat="server" Width="200px"/>
<asp:Button Text="Search" ID="btnProductSearch" runat="server" OnClick="btnProductSearch_Click" />
</div>
<div>
<asp:Button Text="View Average order price per country" ID="btnAvgPrice" runat="server" OnClick="btnAvgPrice_Click"/>
</div>
</fieldset>
<asp:GridView ID="gvSheets" runat="server" AutoGenerateColumns="True" AllowSorting="true" OnSorting="gvSheets_Sorting"/>
</form>
</body>
</html>