private void saveBT_Click(object sender, EventArgs e) { for (int i = 0; i < 8; i++) { sm[i].Semester = i + 1; SqlWorker.SetCurriculum(sm[i]); } MessageBox.Show("Saved Secc!"); SqlWorker.ClearCurr(); this.Close(); }