DevExpress&UI
[DevExpress][GridView] 선택된 row값을 가져오는 코드들
Code GGOON
2019. 3. 27. 15:12
반응형
DevExpress GridView의 선택된 행의 칼럼 값을 가져오는 방법들 코드
textBox1.Text = gridView1.GetDataRow(e.FocusedRowHandle)["Name"].ToString();
textBox1.Text = gridView1.GetFocusedDataRow()["Name"].ToString();
textBox1.Text = (gridView1.GetFocusedRow() as DataRowView).Row["Name"].ToString();
textBox1.Text = gridView1.GetFocusedRowCellValue("Name").ToString();
반응형