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.

#Eval Short Date

I am trying to add date From and date To to my products these values are store in my database …

c# asp.net eval
ASP.NET using Bind/Eval in .aspx in If statement

in my .aspx I'm looking to add in an If statement based on a value coming from the bind. I …

c# if-statement eval bind webforms
Why should eval be avoided in Bash, and what should I use instead?

Time and time again, I see Bash answers on Stack Overflow using eval and the answers get bashed, pun intended, …

linux bash unix eval
calculate math expression from a string using eval

I want to calculate math expression from a string. I have read that the solution to this is to use …

php math eval
Is it possible to execute a string in MySQL?

I have to convert a MSSQL stored proc that passes a varchar that is a query: INSERT INTO Results EXEC (@…

mysql eval evaluation exec execute
Convert a string to a template string

Is it possible to create a template string as a usual string let a="b:${b}"; an then convert it …

javascript ecmascript-6 eval template-strings
C# Eval() support

we need to evaluate a value in an object in run time while we have a textual statement of the …

c# eval
Calculate string value in javascript, not using eval

Is there a way to calculate a formula stored in a string in JavaScript without using eval? Normally I would …

javascript eval
#Eval if statement in repeater

I'm trying to check a string value inside a repeater, and if it has value then write a link, but …

asp.net eval
Best Technique for Multiple Eval Fields in Gridview ItemTemplate?

What is the best way to use multiple EVAL fields in a GridView ItemTemplate? Looking to have some control over …

asp.net data-binding gridview eval