On 21 Dec 2011, at 2:27am, Esteban Cervetto wrote:

> How can I run an SQL script written in a txt file in Visual Basic .NET
> 
> I am using *System.Data.SQLite.dll*  1.0.66.0   library
> 
> I want to avoid write the SQL code in the visual basic routine.

Either write some Visual BASIC code to read in the contents of the file and 
call _exec() on it, or issue an OS call to tell sqlite3.exe to execute the 
contents of that file.

Simon.
_______________________________________________
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to