SkyTeam/verfuegbareFluge.xaml.cs aktualisiert
This commit is contained in:
@@ -86,6 +86,7 @@ namespace SkyTeam
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Source: Stack Overflow "Get selected row item in DataGrid WPF"
|
||||||
DataRowView row = (DataRowView)AvailableFlightsDataGrid.SelectedItem;
|
DataRowView row = (DataRowView)AvailableFlightsDataGrid.SelectedItem;
|
||||||
int flightId = Convert.ToInt32(row["Id"]);
|
int flightId = Convert.ToInt32(row["Id"]);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user