<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="TeamWebAPI_Example.aspx.cs" Inherits="WebAPIClient.TeamWebAPI_Example" %>

 

<!DOCTYPE html>

 

<html xmlns="http://www.w3.org/1999/xhtml">

<head runat="server">

    <title>CORE 2.0 WebAPI Example</title>

</head>

<body>

    <form id="form1" runat="server">

        <div>

            <asp:Label ID="Label1" runat="server" style="z-index: 1; left: 11px; top: 20px; position: absolute; height: 19px" Text="Team ID:"></asp:Label>

            <asp:TextBox ID="txtID" runat="server" style="z-index: 1; left: 78px; top: 19px; position: absolute; width: 51px"></asp:TextBox>

            <br />

            <asp:Button ID="btnFindTeam" runat="server" OnClick="btnFindTeam_Click" style="z-index: 1; left: 156px; top: 18px; position: absolute; width: 128px" Text="Find Team By ID" />

            <asp:Button ID="btnDisplayAllTeams" runat="server" OnClick="btnDisplayAllTeams_Click" style="z-index: 1; left: 305px; top: 18px; position: absolute; width: 166px" Text="Display All Teams" />

        </div>

        <asp:GridView ID="gvTeams" runat="server" style="z-index: 1; left: 12px; top: 90px; position: absolute; height: 133px; width: 187px">

        </asp:GridView>

        <asp:Label ID="lblErrorDisplay" runat="server" ForeColor="Red"></asp:Label>

    </form>

</body>

</html>