SkyTeam/verfuegbareFluge.xaml.cs aktualisiert

This commit is contained in:
PBT3H24AEH committed 2026-03-06 12:49:51 +01:00
1 parent 72914f8fe7
commit 666ed27772
1 file changed
+1
+1
View File
@@ -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"]);