int rowindex = dataGridView1.CurrentCell.RowIndex; int columnindex = dataGridView1.CurrentCell.ColumnIndex; dataGridView1.Rows[rowindex].Cells[columnindex].Value.ToString();
DataGridView1.CurrentCell = DataGridView1.Item(column, row)