Use the ULConnectionParms object to connect to an UltraLite database named mydata.udb.
Prérequis
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(); |
![]() |
Discuter à propos de cette page dans DocCommentXchange.
|
Copyright © 2013, SAP AG ou société affiliée SAP - SAP Sybase SQL Anywhere 16.0 |