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

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>Table Test</title>
    <link href="chapterStyles.css" type="text/css" rel="stylesheet" />

</head>
<body>
    <form id="form1" runat="server">
    <div id="container">
    <h1>Użycie kontrolki Table</h1>
      <h2>Tabela tworzona za pomocą znaczników</h2>
      <p>
      <asp:Table id="tabMarkup" runat="server" >
          <asp:TableRow HorizontalAlign="Center"  TableSection="TableHeader"
                  BackColor="#FFFF80" Font-Bold="True">
              <asp:TableCell Width="100px" Text="Pierwsza"> 
              </asp:TableCell>
              <asp:TableCell Width="100px" Text="Druga">
              </asp:TableCell>
          </asp:TableRow>
          <asp:TableRow HorizontalAlign="Center" 
                  BackColor="#FFFFC0">
              <asp:TableCell Text="10,5"></asp:TableCell>
              <asp:TableCell Text="36,5"></asp:TableCell>
          </asp:TableRow>
          <asp:TableRow HorizontalAlign="Center"
                   BackColor="#FFFFC0">
              <asp:TableCell Text="45,3"></asp:TableCell>
              <asp:TableCell Text="16,5"></asp:TableCell>
          </asp:TableRow>
      </asp:Table>
      </p>
      <h2>Tabela tworzona programowo</h2>
      <p>
      <asp:Table id="tabProgramming" runat="server"></asp:Table>
      </p>

    </div>
    </form>
</body>
</html>
