Integer variable is acquiring a string value of "ad" somewhere along the line, can anyone see where?
Posted
by Phil
on Stack Overflow
See other posts from Stack Overflow
or by Phil
Published on 2010-01-29T08:31:55Z
Indexed on
2010/03/24
12:33 UTC
Read the original article
Hit count: 277
Here is my code:
I should get output of the department id (did) as an integer and the templatefilename (result) that is required.
The errors I get are: Conversion from string "ad" to type 'Integer' is not valid. I'm fairly new to asp.net and cannot see where the did variable picks up the "ad" string.
Any help would be greatly appreciated.
Thanks
© Stack Overflow or respective owner