What is the asp.net equivalent of the "Execute" function of asp

1

I'm migrating an asp page to asp.net and I usually find this kind of functions

function realizar_calculosRteTesDin(nombreDin)
    Execute("sumaIngresosCorriente" & nombreDin & "=" & chr(34) & Calculos(cCalculo1) & chr(34)) 
end function

It's a simple example, the functions tend to be more complex, I just want to know how the Execute function would be translated.

    
asked by Lombarda Arda 15.09.2016 в 17:13
source

1 answer

1

I understand that the function is evaluating a string, the closest thing to this in .net is to use CodeDOM to execute that evaluation

Dynamic Source Code Generation and Compilation

here

Eval function (code to execute as string)

the same topic was raised, but there is no equivalent, it is more to see what implementation has that method Execute () performs to evaluate the string

    
answered by 19.09.2016 / 12:36
source