I have dynamically generated controls on the panels of windows form and i have also generated a button for removing the controls, all in rows.
int c = 0; pri
If all of your controls that you want to delete are in a Panel, you can do: panel.Controls.Clear(); That clears all controls form your panel.
panel.Controls.Clear();