Articles
FAQs
Login
All Questions
New Question
C# .NET - how can i remove data from listbox when datasource is set
Asked By
Gayathri
on 20-Mar-13 04:25 AM
how to remove and overwrite data in a listbox when datasource is set
Tom Wilson
replied to
Gayathri
on 20-Mar-13 11:39 AM
Create a BindingList(of T) and bind the listbox to the BindingList. You can the use Add, Remove, RemoveAt methods or Item(x) property to add, rmove or replace items in the listbox.