Esempio n. 1
0
        private void Enregistrer_Click(object sender, RoutedEventArgs e)
        {
            Matche mat = new Matche(1, DateTime.Parse(Date.Text), url, Stade.Text);

            mat.ajouter();
            rDataGrid();
        }
Esempio n. 2
0
        private void rDataGrid()
        {
            Matche matA = new Matche();

            dataMatche.ItemsSource = matA.afficher().AsDataView();
        }