2012-11-23 3 views

답변

0

당신이 행 인덱스와이 이벤트는 오류를 supported.Giving되지 않은 열 인덱스

Private Sub DataGridView1_CellMouseClick(sender As [Object], e As DataGridViewCellMouseEventArgs) 

    Dim cellInformation As New System.Text.StringBuilder() 
    cellInformation.AppendFormat("{0} = {1}", "ColumnIndex", e.ColumnIndex) 
    cellInformation.AppendLine() 
    cellInformation.AppendFormat("{0} = {1}", "RowIndex", e.RowIndex) 
    cellInformation.AppendLine() 
    MessageBox.Show(cellInformation.ToString(), "CellMouseClick Event") 
End Sub 
+0

을 캡처 할 수 있습니다 - 유형 'DataGridViewCellMouseEventArgs은'정의되어 있지 않습니다. – David

관련 문제