提示写的大概是说你重复定义了“DynamicEventHandler”,查查你的代码看是不是
解决方案 »
- 关于母版页
- GridView图片显示——“System.EventArgs”不包含“RowIndex”的定义
- C# 建立一个可以在iPhone,ipad,Android上运行的Web移动应用程序?
- vs2005 怎么使用.NetFrameWork 3.5
- 求助???
- 一个关于treeview和数据库的问题
- 关于金额显示的问题
- 求科普,这个符号是什么意思,为什么会有这样奇怪的特性?
- net remoting 奇怪的的问题,请各大高手来解决
- gdi+ 如何画虚线??
- QQ中我的头像是用什么控件制作的(在线等待)急!!!!!!!!!!!!!!!
- 请问我用c#编写了一个程序,要调用数据库(sql),我生成一个应用程序,怎么在别人的机器上运行,都需要什么???要别人的机器也装sql吗?????情说
说明: 在编译向该请求提供服务所需资源的过程中出现错误。请检查下列特定错误详细信息并适当地修改源代码。 编译器错误信息: CS1595: 已在多处定义“DynamicEventHandler”;使用“C:\WINNT\Microsoft.NET\Framework\v1.0.3705\Temporary ASP.NET Files\billmanage\9690ade4\331b7d67\assembly\dl\2abc6ddc\90fb2ead_4c20c301\Billmanage.DLL”中的定义浏览的页面代码是:<%@ Page language="c#" Inherits="DynamicEventHandler" Src="../Public/DynamicEventHandler.cs"%><HTML>
<HEAD>
<title>Country</title>
<meta name="GENERATOR" Content="Microsoft Visual Studio 7.0">
<meta name="CODE_LANGUAGE" Content="C#">
<meta name="vs_defaultClientScript" content="JavaScript">
<meta name="vs_targetSchema" content="http://schemas.microsoft.com/intellisense/ie5">
</HEAD>
<body MS_POSITIONING="GridLayout">
<h3>
<asp:CheckBox id="cbIncome" style="Z-INDEX: 105; LEFT: 20px; POSITION: absolute; TOP: 129px" runat="server" AutoPostBack="True" Text="I'm willing to expose my income level"></asp:CheckBox>
<asp:CheckBoxList id="cblAd" style="Z-INDEX: 108; LEFT: 16px; POSITION: absolute; TOP: 248px" runat="server"></asp:CheckBoxList>
<asp:CheckBox id="cbAd" style="Z-INDEX: 107; LEFT: 19px; POSITION: absolute; TOP: 210px" runat="server" AutoPostBack="True" Text="I'm will to recieve advertisements"></asp:CheckBox>
<asp:RadioButtonList id="rblIncome" style="Z-INDEX: 106; LEFT: 16px; POSITION: absolute; TOP: 167px" runat="server"></asp:RadioButtonList>
EventHandler Sample</h3>
<form id="Country" method="post" runat="server">
<asp:Label id="Label1" style="Z-INDEX: 101; LEFT: 20px; POSITION: absolute; TOP: 53px" runat="server" Width="55px">Country</asp:Label>
<asp:DropDownList id="dlCountry" style="Z-INDEX: 102; LEFT: 90px; POSITION: absolute; TOP: 52px" runat="server" Width="97px" AutoPostBack="True"></asp:DropDownList>
<P></P>
<asp:Label id="Label2" style="Z-INDEX: 103; LEFT: 21px; POSITION: absolute; TOP: 86px" runat="server" Width="50px">State</asp:Label>
<asp:DropDownList id="dlState" style="Z-INDEX: 104; LEFT: 91px; POSITION: absolute; TOP: 85px" runat="server" Width="94px" AutoPostBack="True"></asp:DropDownList>
<P><FONT face="宋体"></FONT></P>
</form>
</body>
</HTML>源错误: 行 27:
行 28: [System.Runtime.CompilerServices.CompilerGlobalScopeAttribute()]
行 29: public class Country_aspx : DynamicEventHandler, System.Web.SessionState.IRequiresSessionState {
行 30:
行 31: private static int __autoHandlers;
源文件: C:\WINNT\Microsoft.NET\Framework\v1.0.3705\Temporary ASP.NET Files\billmanage\9690ade4\331b7d67\mmmgrogx.0.cs 行: 29