if(dataGridView1.CurrentRow == null) { return; }
if(datagridview1[1, dataGridView1.CurrentRow.Index].Value == null) { return; }