I'm very new to ASP and VB, but this doesn't make sense to me at all.
I'm checking whether a value is greater than an other, i.e.
If questNr > Session("LastAdded" Then
..do something
Session("LastAdded" = questNr
End If
This works fine until questNr is '10' and lastAdded is '9'. Then it says that questNr (10) is les than lastAdded (9). I write these values out to the screen, so I know that for sure.
How can 10 be less than 9? I guess this mayhave something to do with the datatype. questNr is just a number I retrieve from Request.Form("questNr"
Thanks
I'm checking whether a value is greater than an other, i.e.
If questNr > Session("LastAdded" Then
..do something
Session("LastAdded" = questNr
End If
This works fine until questNr is '10' and lastAdded is '9'. Then it says that questNr (10) is les than lastAdded (9). I write these values out to the screen, so I know that for sure.
How can 10 be less than 9? I guess this mayhave something to do with the datatype. questNr is just a number I retrieve from Request.Form("questNr"
Thanks