codice:
Public Function GetSelectedRows(ByVal dg As DataGrid) As System.Collections.ArrayList

        Dim al As New ArrayList


        Dim i As Integer

        For i = 0 To dvclienti.Count - 1

            If dg.IsSelected(i) Then

                al.Add(i)

            End If

        Next

        Return al

    End Function
ho messo tutto il contenuto delle righe selezionate in un arraylist adesso come le elimino?


Grazie