diff --git a/Plattform/Plattform/Default.aspx b/Plattform/Plattform/Default.aspx index e91c2fe..d8045eb 100644 --- a/Plattform/Plattform/Default.aspx +++ b/Plattform/Plattform/Default.aspx @@ -8,26 +8,23 @@
-
-
- +
RoomType
+
Add a room type
- RoomType
- -
+
Hotel
+
- Hotel
- Add a hotel

- Availability
- From -
- To +

Availability

+
From
+ +
To
+

diff --git a/Plattform/Plattform/Default.aspx.cs b/Plattform/Plattform/Default.aspx.cs index f4d0b25..15de1f1 100644 --- a/Plattform/Plattform/Default.aspx.cs +++ b/Plattform/Plattform/Default.aspx.cs @@ -12,20 +12,29 @@ namespace Plattform { public partial class Default: System.Web.UI.Page { - public Plattform.AirlineService.AirlineServiceClient service = new Plattform.AirlineService.AirlineServiceClient(); - protected void Page_Load(object sender, EventArgs e) { - RoomTypeDB typeDB = new RoomTypeDB(); - var types = typeDB.GetAllRoomTypes(); - DropDownRoomType.Items.Add(types.ToString()); } - protected void ButtonGetFlights_Click(object sender, EventArgs e) + protected void DropDownRoomType_SelectedIndexChanged(object sender, EventArgs e) { - FlightDB dataccess = new FlightDB(); + } + protected void DropDownHotel_SelectedIndexChanged(object sender, EventArgs e) + { + + } + + protected void CalendarFrom_SelectionChanged(object sender, EventArgs e) + { + + } + + protected void CalendarTo_SelectionChanged(object sender, EventArgs e) + { + + } protected void ButtonAddRoom_Click(object sender, EventArgs e) { diff --git a/Plattform/Plattform/Default.aspx.designer.cs b/Plattform/Plattform/Default.aspx.designer.cs index c405ad6..d0b83a1 100644 --- a/Plattform/Plattform/Default.aspx.designer.cs +++ b/Plattform/Plattform/Default.aspx.designer.cs @@ -21,15 +21,6 @@ namespace Plattform { /// protected global::System.Web.UI.HtmlControls.HtmlForm form1; - /// - /// ButtonGetFlights control. - /// - /// - /// Auto-generated field. - /// To modify move field declaration from designer file to code-behind file. - /// - protected global::System.Web.UI.WebControls.Button ButtonGetFlights; - /// /// DropDownRoomType control. /// @@ -40,13 +31,13 @@ namespace Plattform { protected global::System.Web.UI.WebControls.DropDownList DropDownRoomType; /// - /// TextBoxHotel control. + /// DropDownHotel control. /// /// /// Auto-generated field. /// To modify move field declaration from designer file to code-behind file. /// - protected global::System.Web.UI.WebControls.TextBox TextBoxHotel; + protected global::System.Web.UI.WebControls.DropDownList DropDownHotel; /// /// CalendarFrom control.