Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Languages / Managed C++ / April 2007

Tip: Looking for answers? Try searching our database.

Erasing a List View's items, without erasing the columns

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Miesha.James@gmail.com - 31 Mar 2007 14:12 GMT
Hi,

I have a list view that will be update dynamically when new
information is received.  I parse through the information and call the
update function to clear the current items that are in the list and
print out the new data.  My problem is that I dont see a function that
will only clear out the items and subitems and not the columns.  Does
anyone know of a function that does that?

Thanks.

MJ
David Lowndes - 31 Mar 2007 21:10 GMT
>I have a list view that will be update dynamically when new
>information is received.  I parse through the information and call the
>update function to clear the current items that are in the list and
>print out the new data.  My problem is that I dont see a function that
>will only clear out the items and subitems and not the columns.  Does
>anyone know of a function that does that?

AFAIK you don't need one because deleting items does not delete the
columns of the list control. Why do you think it does?

Dave
Ben Voigt - 02 Apr 2007 20:13 GMT
> >I have a list view that will be update dynamically when new
>>information is received.  I parse through the information and call the
[quoted text clipped - 5 lines]
> AFAIK you don't need one because deleting items does not delete the
> columns of the list control. Why do you think it does?

It might if you are data-bound and remove the DataSource.

> Dave

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.