Example #1
0
        //a method that returns next avaiable id in the database table
        void nextID()
        {
            int ID = taughtCourses.GetMaxID() + 1;

            this.txtTaughtID.Text = ID.ToString();
        }