David,
There is no native way to do this in .NET, but it can be done. Check out Rick's article on how to dynamically execute code:
http://www.west-wind.com/presentations/DynamicCode/DynamicCode.htm~~Bonnie
>Hello,
>
>I am new in ASP.Net and I’m looking for an equivalence for the & command or Evaluate() function that exists in FoxPro. This command or function gives me the possibility to execute or evaluate an expression placed in a variable.
>
>Thanks in advance
>
>David