TurboDB.NET Managed Provider
TurboDBConnection.CreateDatabase Method
Top 


Creates a new TurboDB database file.

[C#]
public void CreateDatabase()

Notes
You must set the DataSource property to the file name for the new TurboDB database file before calling CreateDatabase.

Sample
// This code creates a new TurboDB database file and opens it
TurboDBConnection turboDBConnection = new TurboDBConnection();
turboDBConnection.DataSource = @"c:\mydatabases\database98.tdbd";
turboDBConnection.CreateDatabase();
turboDBConnection.Open();

See also
TurboDBConnection class | TurboDBConnection members