Hi,
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 :
16777088
8355711
-2147483633
The values show up on my datagrid, an now i'm trying to do this :
But everything is black...Code: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![]()
tnx


Reply With Quote
Bookmarks