How can I bind data to an array of strings?

How can I bind an array of strings ( string[]

) to dropdownlist

?

Does he use iEnumerable

?

0


a source to share


1 answer


Yes and yes. All arrays implement IEnumerable<T>

and, as such, are valid data sources for data binding.



+6


a source







All Articles