I need to fetch data from datagridview to checkedlistbox while updating in windows form in C#.
Data will be already stored in database (like:- A, B, C, D, )during insert operation, while updating i need to fetch the data from database to checkedlistbox, and the data should be checked.
Data from database will be split and should compare with data in checkedlistbox, if both database item and checklistbox items equal then the item in checkedlistbox should be checked.