Click here to Skip to main content
16,018,949 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi
I add DropDown List to form in the ASP.net page and i get this error

"Error :The name 'cmbproject' does not exist in the current context"

What does this mean? and how i can solve it ?
Posted
Comments
Maciej Los 25-May-12 9:25am    
Plase, show us a code... How can we help you without it?

1 solution

Generally, this happens if the code-behind class name is not same as one inherited in @Page attribute.
Check your code behind class name and Inherits property on the @Page directive - make sure they both match.

Have a look at similar discussion here: The name 'controlname' does not exist in the current context[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900