topical media & game development

talk show tell print

mashup-amazon-13-13-03-SimpleAsyncWebService-Default.aspx / aspx



  <%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default"
      Async="true" %>
  
  <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  <html xmlns="http://www.w3.org/1999/xhtml">
  <head runat="server">
      <title>Async Web Service Example</title>
      <link href="styles.css" rel="stylesheet" type="text/css" />
  </head>
  <body>
      <form id="form1" runat="server">
          <div class="siteHeading">
              Async Web Service Example</div>
          <div class="mainTable">
              <asp:Button ID="cmdOneService" runat="server" Text="Execute a Single Service" OnClick="cmdOneService_Click" />&nbsp;
              <asp:Button ID="cmdTwoSync" runat="server" OnClick="cmdTwoSync_Click" Text="Execute Two Services Synchronously" />&nbsp;
              <asp:Button ID="cmdTwoAsync" runat="server" OnClick="cmdTwoAsync_Click" Text="Execute Two Services Asychronously" /><br />
              <br />
              <asp:Label ID="lblResults" runat="server" Height="304px" Text="Results will go here"
                  Width="500px"></asp:Label>
          </div>
      </form>
  </body>
  </html>
  


(C) Æliens 20/2/2008

You may not copy or print any of this material without explicit permission of the author or the publisher. In case of other copyright issues, contact the author.