Click here to Skip to main content
15,868,340 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more: , +
how to add checklistbox values into tablelayout in window from c# here is my code



cbl.Items.Add(dt.Rows[r]["Option1"].ToString());
cbl.Items.Add(dt.Rows[r]["Option2"].ToString());

above two items i want to add them in tablelayoutpanel how to do it. i am guessing to be as
tableLayoutPanel1.Controls.Add(cbl.Items[0].ToString());
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900