ListBox.DataSource clears exisiting items

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi,

When I bind data source to ListBox.DataSource, it clears (deletes) existing
items in the ListBox. I want to preserve existing items when I set
ListBox.DataSource.

Thanks,
Mahesh
 
Hello mahesh,

This is not poosible. You can only do this by two ways:

1. Add data source items manually to list box.
2. Add list box items to data source and then bind
 
Back
Top