int is_id = convert.toInt32(dataGridView1.CurrentRow.Cells[0].Value);
şeklinde yazınca sorunum çözülmüştür teşekkürler