public void getSemesterDetails()
        {
            Semesters objSemesters = new Semesters();

            objSemesters.SemesterName = txtSemName.Text;
            objSemesters.SemesterCode = txtSemCode.Text;

            //passing above values as a object to the business layer.
            systemManager objsystemManager = new systemManager();

            objsystemManager.insertSemesters(objSemesters);
        }