Eval to run function

  • Thread starter Thread starter Derek Hart
  • Start date Start date
D

Derek Hart

I have the name of a function stored in SQL Server, and I wish to run this
function on a VB.Net form. In a past message, I found the following code:

Dim myresult As String
myresult = AxScriptControl1.Eval("2 * 2")
MessageBox.Show(myresult)

Using the script control this seems to work. But I cannot get it working to
run a function. Any ideas would be appreciated . . .

Derek
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top