开发者

Multiple selection in C# [closed]

开发者 https://www.devze.com 2023-02-04 19:24 出处:网络
开发者_StackOverflow It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical andcannot be reasonably answered in its current
开发者_StackOverflow It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center. Closed 12 years ago.

I am fetching data from database and i am showing it in multiple select box but i want to show location 1,3,5 items should be selected by default. How?


Bind the Listbox to the datasource. A google search will probably be helpful.

If you mean "how do I select specific items", then this so question will help.


In WPF, you can use the ListBox control.

0

精彩评论

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