diff --git a/SkyTeam/verfuegbareFluge.xaml.cs b/SkyTeam/verfuegbareFluge.xaml.cs index 2582200..70fb69d 100644 --- a/SkyTeam/verfuegbareFluge.xaml.cs +++ b/SkyTeam/verfuegbareFluge.xaml.cs @@ -86,6 +86,7 @@ namespace SkyTeam return; } + // Source: Stack Overflow "Get selected row item in DataGrid WPF" DataRowView row = (DataRowView)AvailableFlightsDataGrid.SelectedItem; int flightId = Convert.ToInt32(row["Id"]);