I am quite new to ASP.Net and have written an App in .Net Version 2 with Microsofts Visual Web Developer 2005
When uploaded to my Web Server which is only runnig .Net Framework Version 1.X
I get this error on my Webserver when Converting to String or Integer
Compiler Error Message: BC30451: Name 'Convert' is not declared.
Line 31: Dim Cat As Integer
Line 32: Dim WebvertID As Integer
Line 33: WebvertID = Convert.ToInt16(Request.QueryString("WebvertID"))
Line 34: Cat = Convert.ToInt16(Request.QueryString("Cat"))
Line 35: TownId = Convert.ToString(Session("TownID"))
This error is easily fixed by using CStr and CInt.
My question is doed Version 1.x not support Convert.ToString or do I just need to Import System.Something