Function Eval in C# to asp.net?

  • Thread starter Thread starter '[] WiRaN
  • Start date Start date
Hi,
There is no Eval function in C#, but there is an Eval function in
Jscript.NET. you can create a compiled module in Jscript.NET that
excepts a string , evaluates it and returns the result. then call this
from C# since Jscript.NET compiles to MSIL, you don't need to do any
extra coding.


Natty Gur, CTO
Dao2Com Ltd.
34th Elkalay st. Raanana
Israel , 43000
Phone Numbers:
Office: +972-(0)9-7740261
Fax: +972-(0)9-7740261
Mobile: +972-(0)58-888377
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top