Just like the subject says, I'm stuck trying to clear out all the data from a listview control. I'm sure it should be something quick and easy, but I'm not finding it.
Thanks!
Printable View
Just like the subject says, I'm stuck trying to clear out all the data from a listview control. I'm sure it should be something quick and easy, but I'm not finding it.
Thanks!
:) Well I took another peek and figured it out. In my case the code is lstGrid.ColumnHeaders.Clear
Just in case someone else is wondering.
listview1.ListItems.Clear
Actually I'm afraid neither my solution nor Arcs solution does the job. >.<
Any thoughts?
What do you mean it doesnt work... Ofcourse it works.
Listview1.listitems.clear clears all the items in your listview.....
lol! Of course it works. Silly me, I probably just forgot to change the object name when I tried it the first time. I'm set now though. Thanks Arc