Create new database

Discussion of open issues, suggestions and bugs regarding ADO.NET provider for SQLite
Post Reply
cak
Posts: 1
Joined: Sun 22 Mar 2009 13:45

Create new database

Post by cak » Sun 22 Mar 2009 13:52

Hi,
in the documentation there is a method CreateFile which should create a new database. But VB say, there is no such method. Even if I call it via Devart.Data.SQLite.CreateFile VB doesn't find ist.
How can I call this method?
(other things like queries are working)

Regrads,
Christian

Shalex
Site Admin
Posts: 9543
Joined: Thu 14 Aug 2008 12:44

Post by Shalex » Mon 23 Mar 2009 12:20

Try calling the CreateFile method like this:

Code: Select all

Devart.Data.SQLite.SQLiteConnection.CreateFile("dbFile.db")
This is a static method of the SQLiteConnection class.

Post Reply