for(int i=0; i<dataGridView1.Rows.Count;i++)
for (int j = 0; j < dataGridView1.Rows[i].Cells.Count; j++)
{
if (dataGridView1.Rows[i].Cells[j].Value != null)
{
if (dataGridView1.Rows[i].Cells[j].Value.ToString() == "orz") goto orz; // もういいや・・・
dataGridView2.Rows[i].Cells[j].Value = dataGridView1.Rows[i].Cells[j].Value;
}
}
orz:
MessageBox.Show("コピー終了");