How to read and execute script file

  • Thread starter Thread starter ad
  • Start date Start date
A

ad

I create a script file (.sql) with DTS.
How can I read it into Asp.net and execute it?
 
Ad,

For both you have to use the
"ExecuteNonQuery" from a xxxcommand where xxx is the provider

I hope this helps,

Cor
 

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