简体   繁体   中英

in vb.net an error is coming

Compiler Error Message: ASPNET: Make sure that the class defined in this code file matches the 'inherits' attribute, and that it extends the correct base class (eg 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"

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM