Form validating event vb net Chat online men naked

I think common behaviour is so that the user can't leave the cell once validation fails and is forced to correct it before he can leave the cell. But there is a problem in your code, you can't use "Data Grid View[,].

I wrote code in the cellvalidating event as follows.

Data Property Name = "Cell_2") Then If CBool(Datagrid1("Cell_1", e. I wrote code in the cellvalidating event as follows. Data Grid View Cell Validating Eve nt Args) Handles Datagrid1.

I need to check that only one of the two can be checked.

Its just that my UI does not respond correctly and I can't expect my users to get out of it that way. Bob "Bob" In a datagridview (vs2005, VB.net) I have two columns that are checkboxes.

Private Sub Datagrid1_Cell Validating(By Val sender As Object, By Val e As System.

Private Sub Datagrid1_Cell Validating(By Val sender As Object, By Val e As System.

If I then ckeck the second checbox (cell_2), it gives me the error message but does not return the second checkbox I checked to its unchecked state. Any help appreciated, Bob Once I'm in this process after the error text has been set, evn my close button, that has just a Me.close() in it does not work.

Last modified 30-Jan-2018 16:48