private void courseAddButton_Click(object sender, EventArgs e)
        {
            addCourseObj = new AddCourseClass();

            addCourseObj.CourseNo   = courseNoTextBox.Text;
            addCourseObj.CourseName = courseNameTextBox.Text;
            addCourseObj.DeptName   = dNameComboBox.Text;
            addCourseObj.Year       = yearComboBox.Text;
            addCourseObj.Semester   = semesterComboBox.Text;

            if (courseNoTextBox.Text == "" || courseNameTextBox.Text == "" || dNameComboBox.Text == "" || yearComboBox.Text == "" || semesterComboBox.Text == "")
            {
                MessageBox.Show("Please Fill-Up all field!!!");
                this.Update();
            }
            else
            {
                ob = new Gateway();
                if (ob.InserIntoCourseInfoTable(addCourseObj) == 1)
                {
                    MessageBox.Show("Information Added Successfully!!");
                    courseResetButton_Click(sender, e);
                }
                else
                {
                    MessageBox.Show("Already Added this course.");
                }
            }
        }