Executing a dynamically built statement

  • Thread starter Thread starter Mark
  • Start date Start date
M

Mark

Is there a way to execute a statement that is built
dynamically by a .NET application.

For example I have a loop that is reading values from a
database and I want to do something like the following.

Dim stringa as string = "response.write somavalue"
Execute(stringa)

I realize this is not the best way to do this but it is
for a very specific need.

Does anyone know of a way to do something like this.

Thanks
 
Back
Top