Parser error in my application

0

Good evening guys, I'm trying to run my application but this Analyzer Error appears. I have already entered the webforms of Vendor to see if I find any errors in the code but nothing, compile the project and nothing error.

<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Fornecedor.aspx.cs" Inherits="SoftwareSalgado.Paginas.Fornecedor" %>

Can anyone help me?

    
asked by anonymous 15.10.2018 / 23:58

1 answer

0

You must first confirm that the namespace is correct SoftwareSalgado.Paginas . Then you need to check if the Fornecedor class is a partial and is inheriting System.Web.UI.Page .

Finally, but not mandatory, it is interesting that you implement the Page_Load method to initialize it and control PostBack .

namespace SoftwareSalgado.Paginas
{
    public partial class Fornecedor : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {

        }
    }
}
    
16.10.2018 / 15:44