Is there a way to dynamically execute a string in .net, similar to eval() in javascript or dynamic sql in sql?

前端 未结 8 1431
心在旅途
心在旅途 2020-12-05 12:39

Is there a way to dynamically execute code contained in a string using .net 2.0, in a similar way to eval() in javascript or using sp_executeSQL in tsql?

I have a st

8条回答
  •  一向
    一向 (楼主)
    2020-12-05 13:08

    How about my solution for Eval

    how to execute string path on dynamic type?

提交回复
热议问题