Combo box Default Text
I have a combo box that shows data from a (list) datasource. I want to show a text in the combo box as the first of the items, show开发者_JAVA技巧ing "-ALL-". How can I do this?
I am working on windows form applicaiton.
Try the following:
combo1.Text="All"
精彩评论