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 61:         End If
Line 62:     End Sub
Line 63:     Private Sub repRetro_ItemDataBound(sender As Object, e As RepeaterItemEventArgs) Handles repRetro.ItemDataBound, repSportief.ItemDataBound, repCity.ItemDataBound, repElektrisch.ItemDataBound
Line 64:         If e.Item.ItemType = ListItemType.AlternatingItem Or e.Item.ItemType = ListItemType.Item Then
Line 65:             Dim iCatID As Long = DataBinder.Eval(e.Item.DataItem, "iCatID")

Source File: C:\internet\leasejescooter\review.aspx.vb    Line: 63






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