SetSelected Method (DropDownList)
In This Topic
Selects or unselects a row from the code.
Syntax
'Declaration
Public Sub SetSelected( _
ByVal As Integer, _
ByVal As Boolean _
)
public void SetSelected(
int ,
bool
)
Parameters
- index
- The zero-based integer that identifies the row number of the control.
- value
- The boolean value indicates the status of the selection.
See Also