Sqlite create table LinqPad 4 works where 2 doesn't on Win7 64bit PC

edited July 2012
Just thought I'd share that when I tried to run the script below in LinqPad 2 (32) it didn't work. This PC is Win7 64bit. I'm sure Joe has a very good explanation for this. In any case, I tried it in the new LinqPad 4 and it worked fine.

dim sFileName as string = "C:\myfiles\mydatabaser.db3"

' Now create empty SQLite databse

Dim SQLconnect As New System.Data.SQLite.SQLiteConnection
'Database Doesn't Exist so Created at Path
SQLconnect.ConnectionString = "Data Source=" & sFileName & ";"
SQLconnect.Open()
SQLconnect.Close()

Comments

Sign In or Register to comment.