if (this.dataGridView1.CurrentRow != null && this.dataGridView1.CurrentRow.Cells["Column3"].Value != null)
int i = int.Parse(this.dataGridView1.CurrentRow.Cells["Column3"].Value.ToString());
int i = int.Parse(this.dataGridView1.CurrentRow.Cells["Column3"].Value.ToString());