I am getting checkedListBox values from database. Based on my checkbox selection it will perform some operation.where i have to write the code for checked items.
I am getting checkedListBox values from database. Based on my checkbox selection it will
Share
You need to subscribe to the
CheckListBox.ItemCheckevent. You can do this in code in your constructor or override toOnLoador you can use the WinForms designer properties window events tab.In code (where
checkListBoxis the name of yourCheckListBox):In the designer:
CheckListBoxin the designerItemCheckevent and double-click – the event handler will be auto-generated and hooked up for you, you just need to add your code to make it do something