|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
convert string to int
This code here doesnt work,
Code:
For iLoop = 0 to Request.Form("Count")
'code
next
I receive a 'Type mismatch: '[string: ""]' ' error when loading the page on the for line. My guess is that Request.form probably returns a string variable, but how do I convert it to an int ? Cheers ![]() |
|
#2
|
||||
|
||||
|
if you use cint(Request.Form("Count")) it might work?
|
![]() |
| Viewing: Dev Shed Forums > Programming Languages - More > ASP Programming > convert string to int |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|