The type already contains a definition for 'Zehut'

Posted by iTayb on Stack Overflow See other posts from Stack Overflow or by iTayb
Published on 2010-03-19T14:00:51Z Indexed on 2010/03/19 14:01 UTC
Read the original article Hit count: 390

Filed under:

The problem exists in my editme.aspx page.

Error 1 The type 'editme' already contains a definition for 'Zehut' C:\Documents and Settings\Itay.ITAYB-5A14B8105\My Documents\Visual Studio 2008\WebSites\WebSite2\editme.aspx.cs 110 20 C:\...\WebSite2\
Error 3 Ambiguity between 'editme.Zehut' and 'editme.Zehut(object, System.Web.UI.WebControls.ServerValidateEventArgs)' C:\Documents and Settings\Itay.ITAYB-5A14B8105\My Documents\Visual Studio 2008\WebSites\WebSite2\editme.aspx.cs 44 13 C:\...\WebSite2\

I can't understand where there is a second Zehut method. This is the only zehut method in the whole file.

Here is the code: http://pastebin.com/xzDcg1RB

It happened just out of the blue. It worked fine for a month or so.

© Stack Overflow or respective owner

Related posts about c#