if (this.dataGridView1.SelectedCells.Count >1)
{for(int i = 0;i<this.dataGridView1.SelectedCells.Count;i++)
                         {   }
}