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 49: 
Line 50: 
Line 51:     Private Sub repRetro_ItemDataBound(sender As Object, e As RepeaterItemEventArgs) Handles repRetro.ItemDataBound, repSportief.ItemDataBound, repCity.ItemDataBound
Line 52:         If e.Item.ItemType = ListItemType.AlternatingItem Or e.Item.ItemType = ListItemType.Item Then
Line 53:             Dim iCatID As Long = DataBinder.Eval(e.Item.DataItem, "iCatID")

Source File: C:\internet\leasejescooter\cookies.aspx.vb    Line: 51






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