|
-
Dec 19th, 2008, 04:02 AM
#3
Re: convert string to color
I'd advice you to use the System.Drawing.ColorTranslator.ToHtml method on the color to get a string with the HTML string representation of it, and save that to the database instead.
When you get the string from the database later, use the System.Drawing.ColorTranslator.FromHtml to make it into a Color again
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
|