Esempio n. 1
0
        public string finalRegNo(Register register)
        {
            int rowAffect = registerStudentGateway.finalRegNo(register);

            if (rowAffect > 0)
            {
                return("Registration Successful with   Student Name: " + register.Name + ";  Address: " + register.Address +
                       ";  Contact No: " + register.ContactNo + ";  Email: " + register.Email + ";  Department: " + register.DepartmentCode + ";  Registration No: " + register.RegNo);
            }
            else
            {
                return("Student not Saved");
            }
        }