Search   Articles   Dev Forums   Personalize   Favorites   Member Login   ASP.Net Hosting
DevASP.NET for ASP.NET, VB.NET, XML and C# (C-Sharp) Developers Saturday, May 17, 2008

Search Directory
ASP.NET
VB.Net
C-Sharp
SQL Server
 
FREE 12 month online training for ASP.NET & MS Expression Studio and a Free copy of MS Expression Web with Windows Server Purchase

User Rating!

Home > Search > Articles & Samples > Visual Basic.Net > Miscellaneous
How to Add, Remove and Clear Items Form ListView Control        
Total Hits: 5046  |  Today: 4       Rating:  
Read Reviews | Write Review |              Your Rating: 

In this sample program I will try to explain you how you can add, remove and clear items form a ListView control using Visual Basic.Net (VB.Net). ListView control allows you to display item text in a list. For example you are selecting files from a TreeView control using ListView control you can display all your selected files in a list. Using ListViewItem class you can access list of items present in a List. Each item that is added in a list forms a collection named as ListViewItemCollection. Here I will use three of its methods Items.Add, Item.Remove and Items.Clear.

DevASP.Net users Rating
What is your opinion?
Is this your listing?

    If this is your listing and you like to add the rating box
    displayed on the right side on your site you can use the following code.

Go Back
DevASP.Net - Disclaimer - Privacy
Copyright © 2008 DevASP.net