开发者

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"

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜