if (dataGridView1.SelectedCells.Count > 0)
{
if (dataGridView2.SelectedCells.Count > 0)
{
dataGridView2.SelectedCells[0].Value = dataGridView1.SelectedCells[0].Value;
}
}