UltraLite Database User's Guide
Connection Parameters
Database identification parameters
The path and filename of the UltraLite database file to which you want to connect on Windows CE.
Interface | Connection parameter |
---|---|
UltraLite for MobileVB | DatabaseOnCE |
UltraLite ActiveX | DatabaseOnCE |
UltraLite.NET | DatabaseOnCE |
Native UltraLite for Java | databaseOnCE |
Connection string | ce_file |
For information about using the connection parameter, see Specifying connection parameters.
String
\UltraLiteDB\ulstore.udb
When creating a database, this parameter names the new database file.
When opening a connection to an existing database, the parameter identifies the database.
If the filename does not include an extension, the file of extension .udb is presumed.
The full path of the file must be specified. No substitutions are performed on this value.
The schema file is not required if a .udb file already exists.
Database On CE is required if you use a database with any name other than the default.
You must ensure that this directory exists when the connection parameter is used. UltraLite does not create the directory automatically.
To create and connect to the sample database, udemo.udb:
"schema_file=MyOrders.usm;CE_FILE=udemo.udb"