So I made this thread sometime last year and never really did anything with it. I have a field in my database called 'Color' that is a varchar(25) value. In this table I can put Orange or #FF5B5B for example. Is there a way within my code I can grab the 'Color' field from the database to be displayed using a system.drawing.color? Any help is appreciated. Thanks!
I know these below options show the actual colors in a textbox but I am looking to grab a field in the database.
TextBoxColor.BackColor = System.Drawing.Color.Orange;
TextBoxColor.BackColor = System.Drawing.ColorTranslator.FromHtml("#FF5B5B");
View Complete Post