Example #1
0
 //Users
 private void metroButton10_Click(object sender, EventArgs e)
 {
     db = new UseDataBase();
     dataGridView5.DataSource = db.Find("Users", comboBox4.Text, metroTextBox20.Text);
 } //Users
Example #2
0
 //Teachers
 private void metroButton8_Click(object sender, EventArgs e)
 {
     db = new UseDataBase();
     dataGridView3.DataSource = db.Find("Parents", comboBox3.Text, metroTextBox19.Text);
 }
Example #3
0
        } //Students

        //Groups
        private void metroButton4_Click(object sender, EventArgs e)
        {
            db = new UseDataBase();
            dataGridView4.DataSource = db.Find("Teachers", comboBox1.Text, metroTextBox17.Text);
        }
Example #4
0
 //Parents
 private void metroButton6_Click(object sender, EventArgs e)
 {
     db = new UseDataBase();
     dataGridView2.DataSource = db.Find("Groups", comboBox2.Text, metroTextBox18.Text);
 }
Example #5
0
 //Students
 private void button1_Click(object sender, EventArgs e)
 {
     db = new UseDataBase();
     dataGridView1.DataSource = db.Find("students", comboBox5.Text, metroTextBox16.Text);
 } //Students