Cellvalidating

6854933580_2c8b688306_z

Empty End Sub------------------------ Private Sub Swipe Accumulative Hours Data Grid View_Data Error(By Val sender As Object, By Val e As System.

Data Grid View Data Error Event Args) Handles Swipe Accumulative Hours Data Grid View. Write Line(Swipe Accumulative Hours Data Grid View.

When I enter an incorrect value the small red error icon show on the left of the grid. --------------------------------------------------"..did we give up when the Germans bombed Pearl Harbor? So because I don't have this working properly maybe this is not the time to ask about this icon. To String()) Then Swipe Accumulative Hours Data Grid View.

But when I correct the value and tab to the next cell the icon remains. Thanks for the help Kim Does it persist when you change rows? Thanks for the help Kim Kim-I found this FAQ in my hunt to learn more about the Data Grid View. He's roll'n."-------------------------------------------------- Thanks for the posts - I actually had looked at that validation tutorial - I had not yet put the Cell End Edit into my code because the comments on it said "for when the user press esc"; but I was only tabing thru the fields; I hadn't realized it got rid of the icon I just thought it cleared the error text.

To String()) Case 2 If (Swipe Accumulative Hours Data Grid View.

Throw Exception = False End If 'If Is DBNull((Swipe Accumulative Hours Data Grid View.

To String()) Then Swipe Accumulative Hours Data Grid View. Write Line(Swipe Accumulative Hours Data Grid View. Show("Error happened in data error case 2 isdbnull" _ ' & e. To String()) 'Else ' If ((Swipe Accumulative Hours Data Grid View. To String Then ' paycodefound = True ' End If ' If array Group Paycodes(y). To String ' Exit For ' End If ' Next y ' Next x ' For x As Integer = 0 To Calc Hours. I do have validation working with the cellvalidation method. Show("Your changes has been saved") End If End Sub-------------------------- ' 'save ' Private Function Save() Dim Saved As Boolean If Me._keyscan_payroll Data Set.

You must have an account to comment. Please register or login here!