VB KnownColor to ASP.NET 2.0
I have a small problem with the conversion of KnownColors to ASP.NET colors. All the values are showing Color Black.
The value of the KnownColors are stored in a database, and show like this :
The values show up on my datagrid, an now i'm trying to do this :
But everything is black...
Dim c As Color = System.Drawing.Color.FromKnownColor(DS.Tables(0).Rows(i).Item(7))
b.BackColor = Color.FromArgb(c.ToArgb)
I already tried searching MSDN, but no result so far
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)