It's been a few years since I've done any C# coding and I'd like to brush up on things and get back into the job market. From the FinishButtonClickEvent I'm trying to access the fields I've created in my form (UserInfo), but for some reason VS2010 is not able to resolve them, giving me the message "The name 'txtFirstName' does not exist in the current context.". Here's a sample of the line of code:
How do I go about identifying the 'context' needed to make all my code work?
Steve
Code:
lowerFName string;
lowerFName = txtFirstName.Text.Trim().ToLower();
How do I go about identifying the 'context' needed to make all my code work?
Steve