I do not understand how this problem happens, and I need help. The code below is very simple. It collects data entered into controls; instantiates a class; then sends the data to a class method for processing. No resulting value is returned to this code.
You can see that there are no areithmetic operations performed on the data, but I sometimes get the error "arithmetic operation resulted in an overflow" right here on the last line cRating.SetRating(etc...).
Protected Sub btnSetRating_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles btnSetRating.Click
Dim cRating As Rating = New Rating
Dim dMatchDate As DateTime
Dim sType As String
Dim iSetID As Integer
Dim iHPlayerID As Integer
Dim iAPlayerID As Integer
Dim iHTableRun As Byte
Dim iATableRun As Byte
Dim iH8Break As Byte
Dim iA8Break As Byte
D ...
Go to the complete details ...