'Declaration Public Property SelectedIndex As System.Integer
public System.int SelectedIndex {get; set;}
'Declaration Public Property SelectedIndex As System.Integer
public System.int SelectedIndex {get; set;}
In unbound mode, there are no data items associated with the rows, and this property always returns -1.
You can get the index of the selected row in bound and unbound modes using the Selection property.