dataGridViewActiveElement.Columns = dataGridViewAllElements.Columns;
foreach (DataGridViewColumn dgvc in dataGridViewAllElements.Columns) { dataGridViewActiveElement.Columns.Add(dgvc); }
DataTable dtAll = dataGridViewAllElements.DataSource; DataTable dtNew = dtAll.clone(); dataGridViewActiveElement.DataSource = dtNew;
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)