Server Error in '/' Application.

Parser Error

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

Parser Error Message: The base class includes the field 'dlSubcat', but its type (System.Web.UI.WebControls.Repeater) is not compatible with the type of control (System.Web.UI.WebControls.DataList).

Source Error:


Line 1:  <%@ control language="VB" autoeventwireup="false" inherits="modules_prodsscat, motoespinha_app" %>
Line 2:  
Line 3:      <asp:DataList ID="dlSubcat" runat="server" CellPadding="0" CellSpacing="0" RepeatColumns="4" RepeatDirection="Horizontal" >
Line 4:          <ItemTemplate>
Line 5:              <div style="width: 150px; height: 140px; text-align: center">

Source File: /modules/prodsscat.ascx    Line: 3


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