al eliminar todo los datos de la lista me tira un error
Why not show the relevant blocks where you attempt to delete the list items ?
If nothing has been selected yet, the SelectionIndex will be zero.
So test if the SelectionIndex> 0 before removing from the list.



