TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Merajuddin Ansari
NA
90
14.7k
How Do I Change Label Color Dynamically Using C#.
Jul 15 2015 3:15 AM
Hi,
I have created a Label dynamically the code is as below.
Label status = new Label();
status.Text.ForeColor = System.Drawing.Color.Red;
and error is coming as below:-
'string' does not contain a definition for 'ForeColor' and no extension method 'ForeColor' accepting a first argument of type 'string' could be found (are you missing a using directive or an assembly reference?)
Reply
Answers (
4
)
want to make a auto dialer for telephonic marketing
how to use group listview in asp.net without using data base