<%@ Page language="c#" Codebehind="Book.aspx.cs" AutoEventWireup="false" Inherits="Reservation.Book" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
  <HEAD>
<meta content="Microsoft Visual Studio 7.0" name=GENERATOR>
<meta content=C# name=CODE_LANGUAGE>
<meta content="JavaScript (ECMAScript)" name=vs_defaultClientScript>
<meta content=http://schemas.microsoft.com/intellisense/ie5 name=vs_targetSchema>
<meta http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<meta content="Booking form of Reservation Web Application" name=Description>
<meta content="C#, .NET, Pagebox" name=keywords><LINK href="reservation.css" type=text/css rel=stylesheet >
  </HEAD>
<body>
<table class=title width=620>
  <tr>
    <td align=middle>Reservation: 
Booking</td></tr></table>
<table class=menu width=620>
  <tr>
    <td align=middle><A title="To login" href="Login.aspx" >Login</A></td>
    <td align=middle><A title="To update personal information" href="Update.aspx" >Update</A></td>
    <td align=middle><A href="Book.aspx" >Book</A></td>
    <td align=middle><A href="Search.aspx" >Search</A></td>
    <td align=middle><a 
      href="http://pagebox.net/dotnet/resa-book.html" 
      >Help</a></td></tr></table>
<form id=Book method=post runat="server">
<table border=0>
  <tr>
    <td vAlign=top>
Current bookings:<br>
<asp:datagrid id="dgBookings" runat="server" AlternatingItemStyle-BackColor="#ffdddd" HeaderStyle-ForeColor="white" HeaderStyle-BackColor="#bb1111" HeaderStyle-HorizontalAlign="Center" AutoGenerateColumns="False" DataKeyField="date" Width="340px">
  <Columns>
	<asp:ButtonColumn HeaderText="Action" ItemStyle-Width="20%" ButtonType="PushButton" Text="Cancel" CommandName="bookRem"/>
	<asp:ButtonColumn Text="Select" ItemStyle-Width="20%" ButtonType="PushButton" CommandName="bookSel"/>
	<asp:BoundColumn DataField="date" ItemStyle-Width="60%" HeaderText="Date"/>
  </Columns>
</asp:datagrid>
<br>Select the date and hour:
      <table class=hours>
        <tr>
          <th>Hour</th>
          <th>8</th>
          <th>9</th>
          <th>10</th>
          <th>11</th>
          <th>12</th>
          <th>13</th>
          <th>14</th>
          <th>15</th>
          <th>16</th>
          <th>17</th>
          <th>18</th></tr>
        <tr>
          <td vAlign=top align=right>00</td>
          <td><asp:checkbox id=H800 Enabled="False" Text="" Width="20px" Runat="server"></asp:checkbox></td>
          <td><asp:checkbox id=H900 Enabled="False" Text="" Width="20px" Runat="server"></asp:checkbox></td>
          <td><asp:checkbox id=H1000 Enabled="False" Text="" Width="20px" Runat="server"></asp:checkbox></td>
          <td><asp:checkbox id=H1100 Enabled="False" Text="" Width="20px" Runat="server"></asp:checkbox></td>
          <td><asp:checkbox id=H1200 Enabled="False" Text="" Width="20px" Runat="server"></asp:checkbox></td>
          <td><asp:checkbox id=H1300 Enabled="False" Text="" Width="20px" Runat="server"></asp:checkbox></td>
          <td><asp:checkbox id=H1400 Enabled="False" Text="" Width="20px" Runat="server"></asp:checkbox></td>
          <td><asp:checkbox id=H1500 Enabled="False" Text="" Width="20px" Runat="server"></asp:checkbox></td>
          <td><asp:checkbox id=H1600 Enabled="False" Text="" Width="20px" Runat="server"></asp:checkbox></td>
          <td><asp:checkbox id=H1700 Enabled="False" Text="" Width="20px" Runat="server"></asp:checkbox></td>
          <td><asp:checkbox id=H1800 Enabled="False" Text="" Width="20px" Runat="server"></asp:checkbox></td></tr>
        <tr>
          <td align=right>30</td>
          <td><asp:checkbox id=H830 Enabled="False" Text="" Width="20px" Runat="server"></asp:checkbox></td>
          <td><asp:checkbox id=H930 Enabled="False" Text="" Width="20px" Runat="server"></asp:checkbox></td>
          <td><asp:checkbox id=H1030 Enabled="False" Text="" Width="20px" Runat="server"></asp:checkbox></td>
          <td><asp:checkbox id=H1130 Enabled="False" Text="" Width="20px" Runat="server"></asp:checkbox></td>
          <td><asp:checkbox id=H1230 Enabled="False" Text="" Width="20px" Runat="server"></asp:checkbox></td>
          <td><asp:checkbox id=H1330 Enabled="False" Text="" Width="20px" Runat="server"></asp:checkbox></td>
          <td><asp:checkbox id=H1430 Enabled="False" Text="" Width="20px" Runat="server"></asp:checkbox></td>
          <td><asp:checkbox id=H1530 Enabled="False" Text="" Width="20px" Runat="server"></asp:checkbox></td>
          <td><asp:checkbox id=H1630 Enabled="False" Text="" Width="20px" Runat="server"></asp:checkbox></td>
          <td><asp:checkbox id=H1730 Runat="server" Width="20px" Text="" Enabled="False"></asp:checkbox></td>
          <td><asp:checkbox id=H1830 Runat="server" Width="20px" Text="" Enabled="False"></asp:checkbox></td></tr></table>
      <p></p><asp:button id=btnBook Runat="server" Text="Book" Enabled="False"></asp:button>
      <asp:Button ID=btnUnbook Runat="server" Text="Cancel booking" Enabled="False"></asp:Button></td>
    <td width=10></td>
    <td valign=bottom>
<asp:calendar id=CalBook DayHeaderStyle-BackColor="#ffbbaa" Runat="server" TitleStyle-BackColor="#bb1111" TitleStyle-ForeColor="White" BackColor="#ffdddd" OtherMonthDayStyle-BackColor="LightGray" TodayDayStyle-BackColor="#ffcc66">
</asp:calendar></td></tr></table>
<asp:Label Runat="server" ID="lblStatus"></asp:Label></form>
<p class=timestamp>
<script>
  document.write(document.lastModified);
</script>.
© 2002 Alexis Grandemange</p>
	
  </body>
</HTML>