为类指定的基类不能与基类不同 [英] base class specified for class cannot be different from the base class

查看:86
本文介绍了为类指定的基类不能与基类不同的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在创建一个Web应用程序项目并使用Visual Studio 2010提供的模板。

I am creating a web application project and used the template Visual Studio 2010 provides.

我创建了一个projects.aspx文件,该文件利用了Visual Studio自动创建的母版页。

I created a projects.aspx file which utilizes the master page Visual Studio automatically created.

以下行:

在后面的代码中继承System.Web.UI.Page

Inherits System.Web.UI.Page

projects.aspx正在创建主题中提到的错误。  我的猜测是它与母版页有关,但我不确定。  

in the code behind of projects.aspx is creating the error mentioned in the subject.  My guess is it has to do with the master page but I am not sure.  

 

任何人都可以提供一些帮助吗?  我对此很新,并且不太确定如何解决。  我搜索了论坛并找到了相关项目,但并不是我的问题所特有的。

Can anyone provide some help with this?  i am fairly new to this and not too sure on how to resolve.  I searched the forums and found related items, but not specific to my issue.

推荐答案

我建议您重新发布您的问题到其中一个ASP.NET论坛。你应该得到更好的帮助:

I would recommend re-posting your question to one of the ASP.NET forums. You should get better help over there:

http://forums.asp.net/

 


这篇关于为类指定的基类不能与基类不同的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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