public bool updateFine(student_fine sf, string path)
        {
            DbCon con = new DbCon(path);
            int   r   = con.ExecuteDDLCommand("update student_fine set fineamount=" + sf.FineAmount + " where studentID='" + sf.StudentID + "'");

            if (r > 0)
            {
                return(true);
            }
            else
            {
                return(false);
            }
        }
        public bool AddFine(student_fine sf, string path)
        {
            DbCon con = new DbCon(path);
            int   r   = con.ExecuteDDLCommand("insert into student_fine values('" + sf.StudentID + "'," + sf.FineAmount + ")");

            if (r > 0)
            {
                return(true);
            }
            else
            {
                return(false);
            }
        }