The reason for that is that a DataSource
contains multiple rows. A drop down can support that, as it will show one entry per row, but a TextBox doesn't support it. There is only one text field, which row from the data source should it use?
To set the text of a TextBox
use the Text
property.