c# - auto check to items in wpf check Listbox -


i have check list box in wpf. email ids populated using public observablecollection<boolstringclass> thelist { get; set; } method @ runtime.

when user save record selecetd email ids saved in database(123@gmail.com;456@yahoo.co.in;789@rediff.com).. , on comma separated.

now when want reload data on controls database, how can keep checked items stored in database ? in windows forms easy achieve this, how can done in wpf?

better have observablecollection of emailitem , have string , isselected property. bind collection check box list. , set isselected based on whether saved in database


Comments

Popular posts from this blog

android - Why am I getting the message 'Youractivity.java is not an activity subclass or alias' -

python - How do I create a list index that loops through integers in another list -

c# - “System.Security.Cryptography.CryptographicException: Keyset does not exist” when reading private key from remote machine -