Standard Controls[16]->ListBox

The ListBox control provides a single-selection or multiple-selection list. To enable multiple selection, set the SelectionMode property to Multiple.
The following sample illustrates using a simple ListBox control.

C# ListBox1.aspx
Run Sample View Source

The following sample illustrates using data binding with a ListBox control.

C# ListBox2.aspx
Run Sample View Source

posted on 2007-05-14 09:30  改变热爱  阅读(119)  评论(0)    收藏  举报

导航