This can be done using CodeDom and Reflection. A few months ago a wrote an
article about how this could be accomplished. You can find it here:
http://www.microsoft.com/belux/nl/ms.../datagrid.mspx
I recommend you take a look at the code, if you have further questions,
please let me know!
Jan
"Mark" <an*******@discussions.microsoft.com> schreef in bericht
news:00****************************@phx.gbl...
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