1
4 열이있는 DataGridView가 있습니다.C# DataGridView 행/열에서 내용 가져 오기
사용자가 행을 두 번 클릭하면 클릭 한 행의 첫 번째 열에서 데이터를 다시 검색하려고합니다.
private void ticketsDataGridView_CellMouseDoubleClick(object sender, DataGridViewCellMouseEventArgs e)
{
MessageBox.Show("Row " + e.RowIndex); // gets me the row selected
}
선택한 행의 열을 어떻게 가져올 수 있습니까? DataGridView.Rows Property
에서