Parser error in my application

Asked

Viewed 76 times

0

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

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

Can someone help me?

1 answer

0

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

Last but not least, it is interesting that you implement the Page_Load to initialize and control the PostBack.

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

        }
    }
}
  • Thanks Leandro, gave it right.

  • @Was that really the problem? If the proposal is the answer to your question, it is important to vote as useful and accept as the answer, so your question and the solution can be useful to other users who might face the same problem

Browser other questions tagged

You are not signed in. Login or sign up in order to post.