oop_NFS_Andreas/Plattform/Plattform/Default.aspx.cs

34 lines
893 B
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using Plattform.Models;
using Plattform.DB;
using Plattform;
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)
{
FlightDB dataccess = new FlightDB();
}
protected void ButtonAddRoom_Click(object sender, EventArgs e)
{
}
}
}