Today I was converting some ASP code to ASP.NET when I ran into a problem with the eval statement which is not supported in the NET Framework. Fortunately, I found a clever solution on the Internet at http://odetocode.com/Articles/80.aspx. You can compile that C# code into a DLL and put it into the bin directory of your ASP.NET web site. Then your VB.NET code will have access to functions that perform the same purpose as eval:
OdeToCode.Utility.Evaluator.EvalToDouble(variable)