Server Error in '/' Application.

Compilation Error

Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.

Compiler Error Message: CS1501: No overload for method 'SendEnrollmentMail' takes 5 arguments

Source Error:


Line 141:            db.SubmitChanges();
Line 142:            //program = db.qryAcademicCourses.Where(r => r.Course_id == Convert.ToInt32()).Select(r => r.Programme_name).FirstOrDefault();
Line 143:            cls.SendEnrollmentMail(txtfirstName.Text, txtlastname.Text, txtstudeTel.Text, txtEmail.Text, txtCourse.Text);
Line 144:
Line 145:            sendConfirm.Visible = true;

Source File: \\fsvs04\stor12wc1ord1\896341\www.krcti.ac.ke\web\content\Academic-enroll.aspx.cs    Line: 143






Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.8.4700.0