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: CS1061: 'ASP._controltemplates_15_saso_internet_2019_webparts_listing_numbers_listing_numbersusercontrol_ascx' does not contain a definition for 'LV_MainCat_ItemDataBound2' and no extension method 'LV_MainCat_ItemDataBound2' accepting a first argument of type 'ASP._controltemplates_15_saso_internet_2019_webparts_listing_numbers_listing_numbersusercontrol_ascx' could be found (are you missing a using directive or an assembly reference?)

Source Error:


Line 42:             <div class="col-12">
Line 43: 
Line 44:                 <asp:ListView ID="LV_MainCat" runat="server" OnItemDataBound="LV_MainCat_ItemDataBound2">
Line 45:                     <ItemTemplate>
Line 46: 

Source File: c:\Program Files\Common Files\microsoft shared\Web Server Extensions\16\TEMPLATE\CONTROLTEMPLATES\SASO_Internet_2019.WebParts\Listing_Numbers\Listing_NumbersUserControl.ascx    Line: 44





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