Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Feb 27, 2012 02:43 PM|LINK
The only line that I know can cause that Exception is the FindControl of the Label. In particular, the Controls(0). The Exception means element 0 wasn't found. In other words, there is nothing inside GridManager1.
What is GridManager1? If it is a GridView, that code never worked anyway, since GridView is made up of Rows, and there are no Controls findable directly on the GridView itself.
When is setNumberRecord called? If it can happen before DataBind, that would explain.