ListView out of range exception

Tech-Archive recommends: Fix windows errors by optimizing your registry

From: Pengyu (hong_at_stat.harvard.edu)
Date: 05/19/04


Date: Tue, 18 May 2004 20:38:02 -0700

Whenever I call listView.RemoveAt(listView.Count-1),
which remove the last item, I get an out of range
exception. How to solve this problem?

Thanks a lot,

Pengyu.