Function Eval in C# to asp.net?

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • '[] WiRaN

    Function Eval in C# to asp.net?

    Hello,

    I needing of function similar a Eval of Javascript,
    One help me?


  • Natty Gur

    #2
    Re: Function Eval in C# to asp.net?

    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


    *** Sent via Developersdex http://www.developersdex.com ***
    Don't just participate in USENET...get rewarded for it!

    Comment

    Working...