我建了一个asp.net程序文件_top.ascx,采用的脚本语言是c# ,生成了top.ascx.cs运行程序是发现错误.在程序第一行的声明中.其中ComExam是我的项目名称.请各位高手说出错误原因!感谢!
Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately. Parser Error Message: Could not load type 'ComExam._Top'.Source Error:
Line 1: <%@ Control Language="c#" AutoEventWireup="false" Codebehind="_Top.ascx.cs" Inherits="ComExam._Top" TargetSchema="http://schemas.microsoft.com/intellisense/ie5"%>
Line 2: <link href="images/css.css" rel="stylesheet" type="text/css">
Line 3: <TABLE width="80%" height="148" border=0 align=center cellPadding=0 cellSpacing=0 background="images/banner.jpg" bgcolor="#FFFFFF">
Source File: /_Top.ascx Line: 1
Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately. Parser Error Message: Could not load type 'ComExam._Top'.Source Error:
Line 1: <%@ Control Language="c#" AutoEventWireup="false" Codebehind="_Top.ascx.cs" Inherits="ComExam._Top" TargetSchema="http://schemas.microsoft.com/intellisense/ie5"%>
Line 2: <link href="images/css.css" rel="stylesheet" type="text/css">
Line 3: <TABLE width="80%" height="148" border=0 align=center cellPadding=0 cellSpacing=0 background="images/banner.jpg" bgcolor="#FFFFFF">
Source File: /_Top.ascx Line: 1
解决方案 »
- 怎么用pagemethods返回页面gridview的html?
- JS循环读取XML
- 字符串 <table><tr><td>字符串</td></tr></table> 转为HtmlTable
- Froms验证问题
- 机器反应那么慢,也不知道何故?
- 在ASP.NET中的DataGrid表在客户端怎么才能实现打印,请各位大侠帮忙,不胜感激!
- 我在UpdatePanel中放入一个GridView,在GridView中的一个模板列中放入一个Menu,但更新GridView的数据后,增加的行中的Menu显示却有问题。
- 请问如何找回.net中的"智能感知"菜单
- 读取web.config文件中的appSettings设置信息时出错.
- 我的删除代码出了问题,请大家看看
- 客户端不能自动下载ActiveX控件并注册的问题,请指教!
- 求教一个ASP.NET2.0的问题.....
这句话错了,不要用带"."的名字来命名啊.
改成ComExam_Top应该就没问题了