<%@ Page Language="C#" AutoEventWireup="true" CodeFile="OutputDataSet.aspx.cs" Inherits="OutputDataSet" %>

<!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 id="Head1" runat="server">
    <title>Outputting a DataSet</title>
    <link href="chapterStyles.css" type="text/css" rel="stylesheet" />
</head>
<body>
   <form id="form1" runat="server">
   <div id="container">
      <h1>Outputting a DataSet</h1>
      <p>This examples outputs the content of a <code>DataSet</code> as XML</p>

      <asp:GridView id="grdProducts" runat="server" /> 
      <hr />
      <asp:GridView id="grdCustomer" runat="server" />   
      <hr />
      Retrieving via indexing: <asp:Label ID="labSingle" runat="server" />   

      <hr />
      <asp:Button ID="btnXml" runat="server" Text="Output as XML" OnClick="btnXml_Click" />
      <br />
      <asp:TextBox ID="txtXml" runat="server" Rows="20" Columns="60" TextMode="MultiLine"/>
   </div>
   </form>
</body>
</html>
