if (this.dataGridView1.GetCellCount(DataGridViewElementStates.Selected) > 0) { try { DataGridViewRow dgvr = new DataGridViewRow(); Clipboard.SetDataObject(this.dataGridView1.GetClipboardContent()); dataGridView1.Rows.Add(Clipboard.GetText()); } catch (Exception ex) { MessageBox.Show(ex.Message); } }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)