How can I databind a string array (string[]
) to a dropdownlist
?
Does it implement iEnumerable
?
How can I databind a string array (string[]
) to a dropdownlist
?
Does it implement iEnumerable
?
Yes, and yes. All arrays implement IEnumerable<T>
, and as such are valid data-sources for data-binding.