String to ColorVenkatesan Jayakantham14yPublished May 3, 2012, 12:00 AMUpdated May 3, 2012, 8:22 AM4.1k00Reactions×25BlogHere is the C# code for dynamically assigning the color value for the controlstring colorval="Red";Color color = Color.FromName(colorval);button1.BackColor = color; Cheers,Venkatesan Prabu .J Head, KaaShiv InfoTech.http://www.kaashivinfotech.com/CommentsJoin the conversation! Your thoughts help the community grow.Sign in to leave a commentIt is the same account you read, post and publish with — and you will come straight back to this page.Sign inCreate an account
Join the conversation! Your thoughts help the community grow.