0
A
답변
1
DataGridView가 언제 변경되는지 어떻게 알았습니까?
DataGridView는 선택란이 아닙니다.
CellValueChanged 이벤트를 처리하기위한 이벤트 처리기를 추가하십시오.
Private Sub MySubName(ByVal sender As Object, ByVal e As DataGridViewCellEventArgs) Handles DataGridView1.CellValueChanged
End Sub
(당신의 DataGridView에의 이름으로 당신이 원하는대로와 MySubName 및 DataGridView1 교체).
이벤트를 처리하기 위해 Sub 본문을 채 웁니다.
0
DataGridViewCheckBoxCell.EditingCellValueChanged무엇을 원하십니까?
0
셀의 내용이 변경되었을 때 작업을 수행하려면 이벤트 처리기를 설정해야합니다. 그런 다음 전달 된 인수에 따라 확인란을 선택했는지 여부를 확인하고 그에 따라 작업을 수행 할 수 있습니다.
Private Sub myDataGrid_CellContentClick(ByVal sender As System.Object, _
ByVal e As System.Windows.Forms.DataGridViewCellEventArgs) _
Handles myDataGrid.CellContentClick
If myDataGrid.Rows(e.RowIndex).Cells(e.ColumnIndex).Value = "True" Then
'Checked condition'
Else
'Unchecked Condition'
End If
End Sub
희망 하시겠습니까?
관련 문제
- 1. DataGridView CheckBox 이벤트
- 2. DataGridView CheckBox 질문
- 3. DataGridView 확인란 - 값 및 기능
- 4. DataGridView 내 하위 DataGridView
- 5. checkbox 및 datagridview에 대한 질문
- 6. Jquery CheckBox
- 7. jquery checkbox
- 8. Gridview 및 Column sets
- 9. YUI Datatable Column Filter
- 10. Select * distinct one column
- 11. mysql chinese column
- 12. ListView notify Column drag
- 13. SQL Server Nullable Column
- 14. Column div float issue
- 15. Scrollable TableLayout & Column Headers
- 16. @MyVar SameAs 선언 [Column]
- 17. asp.net gridview template column
- 18. Silverlight DataGridTemplate Column
- 19. Excel - DSUM With Column
- 20. SQL IDENTITY COLUMN
- 21. XamDataGrid Collection Column
- 22. MVC 3 Webgrid Column
- 23. MYSQL get column
- 24. PHPExcel Column Loop
- 25. DataGridView ComboBox
- 26. DataGridView 열의 증가를 막는 방법
- 27. CheckBox Html Helpers
- 28. 테이블 뷰의 CheckBox
- 29. CheckBox 태그 및 코드
- 30. jQuery SlideToggle on checkbox
DataGridViewCheckBoxCell이란 무엇입니까? 형식으로 오류가 발생합니다. – Alex
DataGridViewCheckBoxColumn 권한이 있습니까? 셀 유형으로 DataGridViewCheckBoxCell이 있습니다. http://msdn.microsoft.com/en-us/library/system.windows.forms.datagridviewcheckboxcell.aspx – John