That's mean the listview is empty! Why you clear it at the beginning ListView1.Items.Clear()
Forum Rules