Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post Dec 21, 2007 10:05 AM by rui.j.oliveira
Dec 19, 2007 01:43 PM|LINK
I´m doing a web site with a lot of gridviews, and one works fine on design mode but fails when i compile the solution.
The intellisense on the code behind file works fine.
The error message is :
Error 4 The name 'GridView3' does not exist in the current context C:\WWW\GIEPWeb\Alterar.aspx.cs 924 13 http://localhost/GIEPWeb/
Dec 21, 2007 04:54 AM|LINK
Please post the html source code of “Alterar.aspx”. Make sure the “GridView3” does not exist in a container control. Otherwise, you have to use “FindControl”. For example:
CS0103: The name 'txtUsername' does not exist in the current context
Dec 21, 2007 10:05 AM|LINK
Tks for the reply, my problem is solved, i had a backup of that page on the project, but without the GridView3, so the error is about the other part of the partial class (backup page), after deleted that page, the project worked well!!
Rui Jorge Oliveira