AwDao.CreateDatabase Method 

Creates a new database file.

[Visual Basic]
Public Function CreateDatabase( _
   ByVal fileName As String _
) As Boolean
[C#]
public bool CreateDatabase(
   string fileName
);

Parameters

fileName
Filename.

Return Value

Returns true if successful; otherwise false.

Example

How to create a new database file Data.mdb to C:\.

dao.CreateDatabase("C:\Data.mdb")
dao.CreateDatabase("C:\\Data.mdb");

See Also

AwDao Class | Asterworld.Data Namespace

Home | Software & Source Code Library | About Us | Information Based on Law | Terms of Service
Software List | Product Price List | How to Buy | Order Form | FAQ | Site Map
Copyright (C) 2001-2012 Asterworld. All Rights Reserved.