Run a sql script from a .NET application

  • Thread starter Thread starter Larry Powell
  • Start date Start date
L

Larry Powell

I need to run sql scripts in a Windows .NET application. Is osql available
or is there another way to execute a script in the Framework?

LP
 
Hi Larry,

You can do this fine within .Net. Take a look at the SqlCommand class.
 
Back
Top