Execute an script

A

Alberto

I want to execute a script to generate the data base of my application the
first time the user runs it. Actually I was doing it manually this way:

osql -Uuser -Ppassword -i"name of file"

How can I execute the previous line from my code in c#?

Thank you
 
G

Guest

Alberto said:
I want to execute a script to generate the data base of my application the
first time the user runs it. Actually I was doing it manually this way:

osql -Uuser -Ppassword -i"name of file"

How can I execute the previous line from my code in c#?

System.Diagnostivs.Process.Start()
 

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

Top