Farben in Dropdownlist anzeigen

schnell und unschön, aber super effizent

Dim names() As String = System.Enum.GetNames(GetType(System.Drawing.KnownColor))

DropDownList1.DataSource = names

DropDownList1.DataBind()

und raus kommt

image

 

 
Kommentare sind geschlossen