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 string ...
I am trying to evaluate a function in a new context, ie, one that contains a certain word defined that does not exist in the scope. It is easy enough ...
I am trying to eval() a json having speacial characters - 

and getting "unterminated string literal" error in Firefox 3.5.9
Although the same works fine on IE. 7.
I have set the character ...
i have a server message sent via web-sockets. that message is a json (validated) string.
when it gets to the browser i check that it is a string with typeof(data) and it ...
Is it possible that an array of string replacements using regex can use eval to execute and return a value from a function which I need to be done via this ...
Is there a better way of executing the string "getData" without eval or eval a good option in this case since what is being evaluated is not user generated?
I'm trying to do the below without using eval() as so many posts say it's slow and evil so you shouldn't use it as there's always alternative ways.
The JS (note i'm ...