I have a FlowLayoutPanel in wich contains dynamic CheckedListBox. the number may vary depending on what the user do.
Lets say we have 4 of them.
In my DB, I have a table called Code and in it I have 4 Colums
ACtually the table is created dynamically also. so If there is 4 colums I have 4 CheckedListBox...if 6 then 6 etc...
When the application starts, the first item of the first CheckedListBox is selected and then all the others are populated from that ID (because the first box is the ID of the table)
My problem is that I need to "Checked to True" all the item in the 3 others boxes related to this ID
And if the user click on another ID it needs to switch to all goods checked value from that ID
can you help ? Lets say the SELECT is already in a DataTable.. from there, can you help ?
you can use linq anything you want... BTW i code in vb.net