Wednesday, June 8, 2011

ERROR: The name "UserName" does not exits int the current context? in C sharp

PROBLEM:

ERROR: The name "UserName" does not exits int the current context?

SOLUTION:
The name 'UserName' does not exist in the current context?


1. Left-Click in the "yourUserControl.cs" (solution explorer)

2. Select Properties

3. Change Build Action to "Embededd Resource"