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

sql - VB.NET Operand type clash: date is incompatible with int error -

SVG stroke-linecap doesn't work for circles in Firefox? -

python - TypeError: Scalar value for argument 'color' is not numeric in openCV -