Hai....
When I put MsgBox(z), below the DataGridView1.R ows(z-1).Cells("DETAI LS").Value=lo gs & "[" & CInt(HOURSWORKE D/60) & "]", the MsgBox shows gives a value 1 and when I close the MsgBox, again this same error appears. Am getting this error even if I put this MsgBox on top of this line. Am a novice, and if u dont mind can u explain.
User Profile
Collapse
-
Argument Out Of Range Exception was unhandled.
I want to display daily attendence report of employees. But I keep getting this error in this line( DataGridView1.R ows(z - 1).Cells("WORK" ).Value = CInt(HOURSWORKE D / 60) ) as Argument Out Of Range Exception. Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index.
...Code:Private Sub CALCULATELOGINOITS() Dim HALFDAY1 As Integer = 0 Dim HALFDAY2 As Integer
No activity results to display
Show More
Leave a comment: