phil652
phil652

Reputation: 1506

Let user add item to combobox collection

I want to let the user permanently add to the combobox collection if something is missing. I know it's possible if you connect to a database or put the collection in a text file.

I was wondering if the collection is entered manually in Visual Studio is it possible for the user to add to this collection?

Upvotes: 1

Views: 626

Answers (1)

LarsTech
LarsTech

Reputation: 81610

As I commented, the answer is no.

Any custom entries to the items collection at runtime would require you to have that information in a file or a database or a registry setting. Then when opening the program, you would have to read those items from the source and add them into your control's item collection again.

Upvotes: 1

Related Questions