DataGridViewRow dgvrows = dgvCustomers.SelectedRows;
int _id = (int)dgvrows.Cells[0].Value;

şeklinde deneyebilir misiniz ?