Use the ULConnectionParms object to connect to an UltraLite database named mydata.udb.
Prerequisites
There are no prerequisites for this task.
Declare a ULConnection object.
ULConnection conn; |
Open a connection to an existing database.
You can specify connection parameters either as a connection string or using the ULConnectionParms object.
ULConnectionParms parms = new ULConnectionParms(); parms.DatabaseOnDesktop = "mydata.udb"; conn = new ULConnection( parms.ToString() ); conn.Open(); |
![]() |
Discuss this page in DocCommentXchange.
|
Copyright © 2014, SAP AG or an SAP affiliate company. - SAP Sybase SQL Anywhere 16.0 |