How to save the selected fields in a C # CheckListBox?

0

My program contains two CheckListBox : chkLstBoxTabela contains the tables in my DB, and chkLstBoxColunas contains the columns of the table that was selected in chkLstBoxTabela , so that when we select a table the your columns.

I need when I select another table, the selected columns from the previous table will be saved. Is it possible to do this?

    
asked by anonymous 08.12.2014 / 18:03

1 answer

0

Thanks for the suggestions. I solved the problem by creating a flag in my class column so that when I frame a column of chkLstBoxColumns it arrows the flag to true. When I load the chkLstBoxColunas I check the flag and mark the fields already selected.

    
11.12.2014 / 14:58