1

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?

AsifQadri
  • 2,388
  • 1
  • 20
  • 30
Ajay_Kumar
  • 1,381
  • 10
  • 34
  • 62

2 Answers2

1

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.

Community
  • 1
  • 1
Tim Barrass
  • 4,813
  • 2
  • 29
  • 55
0

In WPF, you can use the ListBox control.

Peter Lillevold
  • 33,668
  • 7
  • 97
  • 131