我刚刚创建的表单有问题 [英] Having problem with the form I just created

查看:84
本文介绍了我刚刚创建的表单有问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

描述:解析为此请求提供服务所需的资源时发生错误。请查看以下特定的解析错误详细信息并相应地修改源文件。



分析器错误消息:无法加载类型'Complaint.UTILITY.Utility'。



源错误:





第1行:<%@ Page Language =C#AutoEventWireup =trueCodeBehind =Utility.aspx。 csInherits =Complaint.UTILITY.Utility%>



我尝试过:



我只是从另一种编程语言转换而且我正在使用我创建的基本表单遇到挑战非常痛苦。



请问怎么做我解决了这个问题,一个项目,所有表格都运行正常,然后



创建一个新表单,这个错误就出来了。





请协助。

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 'Complaint.UTILITY.Utility'.

Source Error:


Line 1: <%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Utility.aspx.cs" Inherits="Complaint.UTILITY.Utility" %>

What I have tried:

It very painful that I just changed over from another programming language and i am having challenges with basic forms I create.

Please how do I address this problem, a project with all the forms working ok and next

creating a new form this error comes out.


Please assist.

推荐答案

首先查看您的Utility.aspx.cs文件并检查所有名称仔细:命名空间,类,一切。请记住,C#区分大小写,因此实用程序与实用程序不同,等等。

然后检查它是否已全部编译: CodeBehind = ... 需要在 bin 文件夹中编译代码, CodeFile = ... 需要未编译的源代码网站文件夹中的代码文件。
Start by looking at your Utility.aspx.cs file and check all the names carefully: namespace, class, everything. Remember that C# is case sensitive, so "utility" is not the same as "Utility", and so forth.
Then check that it's all compiled: CodeBehind=... requires compiled code in the bin folder, CodeFile=... expects an uncompiled source code file in the website folder.


这篇关于我刚刚创建的表单有问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆