Int32 iRowIndex = this.dataGridView1.CurrentRow.Index;intOrderID = this.dataGridView1.CurrentRow(0, iRowIndex);