chlade
asked on
Execute code stored in a database field
Is there a way to execute code that is not embedded in the program?
For instance, let's say I have the following stored in a database field:
Function AdjustStringValue(ByVal str As String) As String
str &= "AAA"
str &= "BBB"
Return str
End Function
Can I somehow call this function from a program passing it the parameter?
For instance, let's say I have the following stored in a database field:
Function AdjustStringValue(ByVal str As String) As String
str &= "AAA"
str &= "BBB"
Return str
End Function
Can I somehow call this function from a program passing it the parameter?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
There was just too much there to sift through. But I googled a few keywords I found and after a few hours of searching and playing found a good solution. For others that run across this question, I found a more concise example here: http://msdn2.microsoft.com/en-us/library/microsoft.visualbasic.vbcodeprovider.aspx.
ASKER