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
Post a Comment