Example #1
0
 private void button3_Click(object sender, EventArgs e)
 {
     comboBox2.SelectedIndex = 0;
     DataBase db = new DataBase();
     dataGridView1.DataSource = db.SetAdminAll(comboBox2.SelectedIndex+7);
     dataGridView1.Refresh();
 }