We help IT Professionals succeed at work.
Get Started

The name XXXX does not exist in the current context

Last Modified: 2015-10-20
Hello Experts,
I have a running project.  I added a new page and copied all the contents from an existing page.  Because my new page is quite similar to the existing one.  But when compiled, got too many errors.  Almost all the errors are like #1 and some are #2 errors as below.  Any idea what is going on?  Thank you very much in advance.

1. The name XXXX does not exist in the current context
2. The best overloaded method match for "MethodName(arguments)" has some invalid arguments
Watch Question
Senior Developer
This problem has been solved!
Unlock 1 Answer and 2 Comments.
See Answer
Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

  • Troubleshooting
  • Research
  • Professional Opinions
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE