Top "Eval" questions

eval is a function that allows a programmer to execute arbitrary code written in the same language, from a string variable within a code.

Understanding ASP.NET Eval() and Bind()

Can anyone show me some absolutely minimal ASP.NET code to understand Eval() and Bind()? It is best if you …

asp.net eval bind
instantiate a class from a variable in PHP?

I know this question sounds rather vague so I will make it more clear with an example: $var = 'bar'; $bar = …

php class variables eval
Escaping single quotes in JavaScript string for JavaScript evaluation

I have a project, in which some JavaScript var is evaluated. Because the string needs to be escaped (single quotes …

javascript string escaping eval
How can I evaluate a C# expression dynamically?

I would like to do the equivalent of: object result = Eval("1 + 3"); string now = Eval("System.DateTime.Now().ToString()") as string …

c# reflection eval
When is JavaScript's eval() not evil?

I'm writing some JavaScript code to parse user-entered functions (for spreadsheet-like functionality). Having parsed the formula I could convert it …

javascript coding-style eval
Databinding methods such as Eval(), XPath(), and Bind() can only be used in the context of a databound control

I am getting the following error Databinding methods such as Eval(), XPath(), and Bind() can only be used in the …

asp.net repeater eval
Accessing object property as string and setting its value

I have an instance of the Account class. Each account object has an owner, reference, etc. One way I can …

c# string eval accessor databinder
Alternative to eval() javascript

I work mainly with javascript, Jquery, knockout, etc The thing that attracted eval() to me is var a = 5; var b = 10; …

javascript jquery jquery-plugins eval
Error in lm.fit(x,y,offset = offset, singular.ok,...) 0 non-NA cases with boxcox formula

I am trying to run a boxcox transformation with the following code: urban1 <- subset(ski,urban <= 4,na.…

r eval lm
HyperLink with NavigateUrl with Eval(). Where is the mistake?

First I was changing HyperLink.NavigateUrl in code-behind on Page_Load(). But after I decided to do it in design …

c# .net asp.net eval code-behind