本文介绍了浏览器中的解析器错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我在我的项目达卡教育委员会中添加页面并在浏览器中运行时,它会得到解析器错误。

第1行:<%@ Page Language =" C#" AutoEventWireup = QUOT;真"代码隐藏= QUOT; Forms.aspx.cs"继承= QUOT; Dhaka_Education_Board.Forms" %>


$ b $双方改变我的项目名称所以我只是创建一个新项目并将该项目中的页面复制到我的新项目中。

when i add a page in my project Dhaka Education Board and run in browser its getting parser error.
Line 1: <%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Forms.aspx.cs" Inherits="Dhaka_Education_Board.Forms" %>

i nedded to change my project name so i just create a new project and copied pages from that project to my new project.

推荐答案

<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="" Inherits="" %>







如果你改变了这个并且如果你仍然得到错误,那么转到你的类文件并检查它的命名空间或类名




if you have changed this and if u get the error still, then go to your class file and check its namespace or class name


这篇关于浏览器中的解析器错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-04 11:44
查看更多