-
September 29th, 2019, 06:51 PM
#1
[RESOLVED] change label text dynamically
I am working in Visual Studio. Working on a form. Messing around to see if I can create something. I have added a label to the form and gave it a name of currentMonth. I want to get the current month and have it change to the current month every month. I am having trouble getting the code to work because I get an error that the name doesn't exist. I just tried something like this to see if I could get it to work
currentMonth.Text = "September";
What am I doing wrong?
-
September 29th, 2019, 07:29 PM
#2
Re: change label text dynamically
Solved, I do believe my form was corrupted.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|