This project is read-only.
Project Description
This project is a class library written in c# which is used for executing *.sql files in remote server.

Simply one dll file. You include it in your web project, add using statement at the top of your page, pass the parameters inside. Rest, it will do.

(See downloads section for sample files.)

Sample Code:
SqlFileExecuter sfe = new SqlFileExecuter();
SqlConnection sqlcon = new SqlConnection(ConfigurationManager.ConnectionStrings"YOURCONNECTIONNAME".ConnectionString);

sfe.FileUrl = Server.MapPath("~/TempFiles/");
sfe.DestinationConnection = sqlcon;
sfe.CommandTimeOut = 600;

(Actually I've developed the idea of: and

Last edited Jul 28, 2010 at 1:37 AM by Offshoot, version 6