开发者

in vb.net an error is coming

开发者 https://www.devze.com 2022-12-25 14:35 出处:网络
Compiler Error Message: ASPNET: Make sure that the class defined in this code file matches the \'inherits\' attribute, and tha开发者_运维技巧t it extends the correct base class (e.g. Page or UserContr

Compiler Error Message: ASPNET: Make sure that the class defined in this code file matches the 'inherits' attribute, and tha开发者_运维技巧t it extends the correct base class (e.g. Page or UserControl).

in vb code-i used namespace and a class.


The Inherits attribute in the Page directive of the aspx page must point to a class that implements the code-behind logic. If you have used extra namespaces, you will need to supply the fully qualified type name, so that it matches:

Inherits="The.Full.Namespace.Path.TheClassName"
0

精彩评论

暂无评论...
验证码 换一张
取 消