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

<!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>Ćwiczenie 2</title>
</head>
<body>
    <form id="form1" runat="server">
      <table style="width:500px; height:31px">
         <tr>
            <td colspan="2" style="height:20px; font-weight: bold; font-size: 20pt;">
               Witamy w Northwind
                <br />
            </td>
         </tr>
         <tr>
            <td style="width: 192px; height: 24px;">
                Wybierz produkt:<br />
            </td>
            <td style="height: 24px">
                <asp:DropDownList ID="ddlProduct" runat="server">
                    <asp:ListItem>Chai</asp:ListItem>
                    <asp:ListItem>Chang</asp:ListItem>
                    <asp:ListItem>Aniseed Syrup</asp:ListItem>
                    <asp:ListItem>Chef Anton's Cajun Seasoning</asp:ListItem>
                    <asp:ListItem>Chef Anton's Gumbo Mix</asp:ListItem>
                    <asp:ListItem>Grandma's Boysenberry Spread</asp:ListItem>
                    <asp:ListItem>Uncle Bob's Organic Dried Pears</asp:ListItem>
                </asp:DropDownList><br />
            </td>
         </tr>
         <tr>
            <td style="width: 192px; height: 29px;" valign="bottom">Podaj adres pocztowy:</td>
            <td style="height: 29px"><asp:TextBox ID="txtAddress" runat="server" Height="80px" Width="318px" TextMode="MultiLine" /></td>
         </tr>
         <tr>
            <td colspan="2">
                <br />
                Kiedy przesyłka ma zostać wysłana?</td>

          </tr>
                  <tr>
            <td colspan="2">
                <asp:RadioButtonList ID="rblShipping" runat="server" RepeatDirection="Horizontal">
                    <asp:ListItem>Normalnie</asp:ListItem>
                    <asp:ListItem>Szybko</asp:ListItem>
                    <asp:ListItem>Jutro</asp:ListItem>
                    <asp:ListItem>Dzisiaj</asp:ListItem>
                    <asp:ListItem>Wczoraj</asp:ListItem>
                </asp:RadioButtonList></td>

          </tr>
          <tr>
            <td colspan="2">Kiedy mamy przypomnieć Ci o ponownym zamówieniu?</td>
            
          </tr>
          <tr>
            <td colspan="2">
                <asp:Calendar ID="calReorder" runat="server" BorderColor="Black" BorderStyle="Solid" BorderWidth="1px" Font-Bold="False" NextPrevFormat="ShortMonth" PrevMonthText="" Width="339px">
                    <SelectedDayStyle BackColor="Black" ForeColor="White" />
                    <TodayDayStyle BackColor="DimGray" ForeColor="White" />
                    <DayStyle BackColor="Gainsboro" BorderColor="White" BorderStyle="Solid" BorderWidth="1px"
                        Font-Underline="True" />
                    <OtherMonthDayStyle ForeColor="Gray" />
                    <NextPrevStyle ForeColor="White" />
                    <TitleStyle BackColor="#404040" BorderColor="White" Font-Bold="True" ForeColor="White" />
                </asp:Calendar>
            </td>
            
          </tr>
               <tr>
            <td colspan="2">
                <asp:Button ID="btnSubmit" runat="server" Text="Wyślij zamówienie" OnClick="btnSubmit_Click" /><br />
            </td>
          </tr>
          <tr>
            <td colspan="2"><asp:Label ID="lblMsg" runat="server" /></td>
          </tr>
      </table>
    </form>
</body>
</html>
