How to remove the Nothing elements from an array using a For or For Each loop?
I have to display the array to a datagrid, but the Nothing elements of the shows up as zeros.

This is the code I have so far for my button click event

Code:
Dim flag As Boolean = False
        Dim found As Integer
        For m As Integer = 0 To carArray.Length - 1
            If carArray(m).carid = txtDelete.Text Then
                carArray(m) = Nothing
                flag = True
                found = m
            End If
        Next