DataGridView 현재 선택된 행의 값 알아오기
현재 선택된 행의 값은 this.DataGridView.Rows[this.DataGridView.CurrentCellAddress.Y].Cells[0].Value.ToString() this.DataGridView.Rows[this.DataGridView.CurrentCellAddress.Y].Cells[1].Value.ToString() this.DataGridView.Rows[this.DataGridView.CurrentCellAddress.Y].Cells[2].Value.ToString() this.DataGridView.Rows[this.DataGridView.CurrentCellAddress.Y].Cells[3].Value.ToString()
C#
2011. 6. 1. 17:00