Click here to Skip to main content
15,911,531 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi
How to prevent double click a column of Data Grid View CheckBoxCell
in datagridview using vb.net,


Provide stop/disable the double click event from data grid view control

Thanks in advance
Posted
Updated 6-Jun-14 1:44am
v2

1 solution

Hello friend, You may try this code:

VB
Private Sub DataGridView1_CellMouseDoubleClick(ByVal sender As Object, ByVal e As System.Windows.Forms.DataGridViewCellMouseEventArgs) Handles DataGridView1.CellMouseDoubleClick

   DataGridView1.SelectionMode = DataGridViewSelectionMode.FullRowSelect

End Sub

Let me know if it works. :)
- DD
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900