Data. OleDb. OleDbCommand oleDbUpdateCommand2; System. Data. OleDb. OleDbCommand oleDbDeleteCommand2; System. Data. OleDb. OleDbCommand oleDbSelectCommand3; System. Data. OleDb. OleDbCommand oleDbInsertCommand3; System. Data. OleDb. OleDbCommand oleDbUpdateCommand3; System. Data. OleDb. OleDbCommand oleDbDeleteCommand3; System. Data. OleDb. OleDbCommand oleDbSelectCommand4; System. Data. OleDb. OleDbCommand oleDbInsertCommand4; System. Data. OleDb. OleDbCommand oleDbUpdateCommand4; System. Data. OleDb. OleDbCommand oleDbDeleteCommand4; System. Data. OleDb. OleDbCommand oleDbSelectCommand5; System. Data. OleDb. OleDbCommand oleDbInsertCommand5; System. Data. OleDb. OleDbCommand oleDbUpdateCommand5; System. Data. OleDb. OleDbCommand oleDbDeleteCommand5;
///
///Required designer variable.
/// System.componentModel. Container components = null; Form4 ()
{
//
// Required for Windows Form Designer support
// ();
//
// TODO: Add any constructor code after InitializeComponent call
//
}
///
///Clean up any resources being used.
/// override void Dispose (bool disposing)
{(disposing)
{(components! = null)
{. Dispose ();
}
}. Dispose (disposing);
} void button2_Click (object sender, System. EventArgs e)
{. Close ();
} void checkBox1_CheckedChanged (object sender, System. EventArgs e)
{(this. checkBox1. Checked) {this. dataGrid1. ReadOnly = false; this. button1. Enabled = true;} {this. dataGrid1. ReadOnly = true; this. button1. Enabled = false;}
} void button1_Click (object sender, System. EventArgs e)
{. oleDbDataAdapter4. Update (this. dataSet1rab1, "Raboty");. dataSet1rab1. Clear ();. oleDbDataAdapter4. Fill (this. dataSet1rab1, "Raboty");
} void Form4_Load (object sender, System. EventArgs e)
{. oleDbDataAdapter1. Fill (this. dataSet1stud1);. oleDbDataAdapter5. Fill (this. dataSet1prep1);. oleDbDataAdapter2. Fill (this. dataSet1groups2);. oleDbDataAdapter3. Fill (this. dataSet1confs1);. oleDbDataAdapter4. Fill (this. dataSet1rab1);
} void button3_Click (object sender, System. EventArgs e)
{. Close ();
} void checkBox2_CheckedChanged (object sender, System. EventArgs e)
{(this. checkBox2. Checked) {this. dataG...