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: BC30506: Handles clause requires a WithEvents variable defined in the containing type or one of its base types.

Source Error:


Line 4:      Inherits System.Web.UI.Page
Line 5:  
Line 6:      Protected Sub btnSubmit_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles btnSubmit.Click
Line 7:  
Line 8:       SendMails()

Source File: R:\Inetpub\ftproot-web\root\admissions\onestopshop\undergraduateAdmissions\transferAdmissions\letuscontactyouformPTK\default.aspx.vb    Line: 6





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