Private Sub DataGridView1_CellClick(ByVal sender As Object, ByVal e As System.Windows.Forms.DataGridViewCellEventArgs) Handles DataGridView1.CellClick
If Not cmbProductDesc.Text = "Installation & Testing Charges" Then
If Not IsDBNull(DataGridView1.Rows(rowID).Cells(3).Value) Then
cmbSubSystem.Text = Trim(DataGridView1.Rows(rowID).Cells(3).Value)
Else
cmbSubSystem.Text = ""
End If
End If
end sub
When it comes to this line of line( cmbSubSystem.Text = Trim(DataGridView1.Rows(rowID).Cells(3).Value)) ,obviously it will call selected index changed event. Is there any way to restrict this,