일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | ||||||
2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | 17 | 18 | 19 | 20 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 28 | 29 |
30 | 31 |
Tags
- AWS
- github
- 도커
- 스프링
- Kotlin
- react
- 리액트
- c#
- Spring
- VOA
- git
- docker
- MySQL
- Winform
- 파이썬
- design pattern
- machine-learning
- Python
- 쿠버네티스
- springboot
- mybatis
- 마이바티스
- Spring Boot
- DataGridView
- 코틀린
- Java
- kubernetes
- 자바
- 리팩토링
- 스프링부트
Archives
- Today
- Total
목록CurrentCell (1)
보뇨 다이어리
dataGridView CurrentCell 이 null 인경우
일단 코드부터 보자 코드상단부분에는 이미 dataGridView_student 의 초기화가 진행되어 자동으로 row 를 클릭할수있도록하는것이다 추가적으로 dataGridView_student 컴포넌트는 FullRowSelect 로 설정되어있다 dataGridView_student.Rows[0].Selected = true; dataGridView_student_CellMouseUp(null, null); 그리고 다음 로직인 해당 부분을 탈때 에러가 발생한다 디버깅할때보니 CurrentCell 이나 CurrentRow 부분이 아예 null 이였다 근데 원인은 생각보다 간단했다 버그가 아닌가 싶기도하지만... int index = dataGridView_student.CurrentCell.RowIndex;맨..
컴퓨터 관련/C# 정보
2019. 3. 28. 10:18