Vor dem Hintergrund des Arithmetic overflow würde mich mal interessieren, wann
ich
DIM c AS Integer
und wann
DIM c AS Int32
nehmen sollte.
Der Arithmetic overflow tritt bei folgender Konstellation auf:
DIM pages AS Integer
Dim start As Int32, ende As Int32, size As Int32
start = Int32.Parse(Request("start"))
ende = Int32.Parse(Request("end"))
size = ende - start + 1
total = CInt(DBAbfrage...)
If total > size Then
pages = CInt(Int(total / size))
Die Zuweisung des Wertes für pages führt zum Fehler (allerdings eher
sporadisch).
Hatt jemand eine Idee?
Danke
Rene
_______________________________________________
Vb.net Mailingliste, Postings senden an:
[email protected]
An-/Abmeldung und Suchfunktion unter:
http://www.glengamoi.com/mailman/listinfo/vb.net