B Bishoy George Oct 6, 2005 #1 I want to make a dropdownlist that contains all colors of the struct Color. Is that possible?
N neilmcguigan Oct 6, 2005 #2 You are going to want to use the System.Drawing.KnownColor enumeration DropDownList1.DataSource = Enum.GetNames(typeof(System.Drawing.KnownColor)); DropDownList1.DataBind();
You are going to want to use the System.Drawing.KnownColor enumeration DropDownList1.DataSource = Enum.GetNames(typeof(System.Drawing.KnownColor)); DropDownList1.DataBind();