<%-- $1$ <%@ Page Language="C#" CodeBehind="main.aspx.cs" Inherits="CH46.main" %> #1# --%> <%-- --%> <%-- --%> <%-- --%> <%-- --%> <%-- --%> <%-- --%> <%-- --%> <%-- Main --%> <%-- --%> <%-- --%> <%--
--%> <%--
--%> <%--  My Initial Value --%> <%-- <%-- Runat="server" Text="Please change the value of the textBox" --%> <%-- ControlToValidate="txtInit" InitialValue="My Initial Value" Display="Dynamic" ForeColor="Red"> --%> <%--   <%-- Text="Do not leave empty" ControlToValidate="txtInit"> --%> <%--
--%> <%--
--%> <%-- --%> <%-- Select a profession --%> <%-- Programmer --%> <%-- Lawyer --%> <%-- Doctor --%> <%-- Artist --%> <%-- --%> <%--   --%> <%-- <%-- runat="server" Text="Please make a selection" --%> <%-- ControlToValidate="DropDownList1" --%> <%-- InitialValue="Select a profession" Display="Dynamic" ForeColor="#FF3300"> --%> <%-- --%> <%--
--%> <%--
--%> <%-- --%> <%-- --%> <%-- <%-- Display="Dynamic" ErrorMessage="Less than 2 weeks" ForeColor="Red"> --%> <%--
--%> <%-- Arrival Date: --%> <%-- --%> <%-- <%-- Text="You must only select a date within the next two weeks." --%> <%-- ControlToValidate="txtArrival" Type="Date" Display="Dynamic" ErrorMessage="Less than 2 weeks" ForeColor="Red"> --%> <%--
--%> <%-- Select your arrival date:
--%> <%-- --%> <%-- Departure --%> <%-- Arrival --%> <%-- --%> <%--
--%> <%-- <%-- $1$ OnSelectionChanged="Calendar1_SelectionChanged" #1# --%> <%-- DayNameFormat="Shortest" Font-Names="Verdana" Font-Size="8pt" ForeColor="#3366CC" BorderColor="#3366CC" BorderWidth="1px" CellPadding="1" --%> <%-- DayHeaderStyle-BackColor="#99CCFF" ForeColor="#3366CC" Height="200px" Width="220px"> --%> <%-- --%> <%-- --%> <%-- --%> <%-- --%> <%-- --%> <%-- --%> <%-- --%> <%-- --%> <%--   --%> <%-- --%> <%-- Departure --%> <%-- Arrival --%> <%-- --%> <%--
--%> <%-- $1$ <%-- $1$ $2$ OnClick="Button1_Click" /> #2# #1# --%> <%-- $1$
#1# --%> <%-- --%> <%-- --%> <%-- --%> <%-- --%> <%-- --%> <%--
--%> <%-- --%> <%--
--%> <%-- --%> <%-- --%>