예제 #1
0
 private void button1_Click(object sender, EventArgs e)
 {
     //orthoDb.ChargeDatabase(); // without dataset
     orthoDbDs.ChargeDatabaseDataSet(); // with dataset
     textBox2.Clear();
     textBox2.AppendText("Prenom\t\t\tScore" + "\r\n");
     textBox2.AppendText(orthoDb.AfficherDatabase());
 }
예제 #2
0
 private void btnLoadFile_Click(object sender, RoutedEventArgs e)
 {
     //orthoDb.ChargeDatabase(); // without dataset
     orthoDbDs.ChargeDatabaseDataSet(); // with dataset
     txtTableScores.Clear();
     txtTableScores.AppendText("Prenom\t\t\tScore" + "\r\n");
     txtTableScores.AppendText(orthoDb.AfficherDatabase());
 }