Execute an script

  • Thread starter Thread starter Alberto
  • Start date Start date
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
 
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()
 
Back
Top