![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Hello, I'm new to sqlanywhere, so my question might be strange. it is not really clear for me how can I connect from c# code. I created a database with encryption option. it has only one table, (also encrypted). I can start this server with Personal server, or sybase central. in this case the connection string is the following. * * * conn.ConnectionString = string.Format("ENG=sp;DBN=sp;UID=DBA;PWD={0}", *pwd); this is working fine. but if the server is still not started is it possible to connect directly from .net to that database? * * * conn.ConnectionString = string.Format("ENG=sp;DBN=full_path_of_database_fi le;DBKEY=encryption_key;UID=DBA;PWD={1}", pwd); the samples are all using odbc. is it the only way to automatically start a database? thanks Ivan |
![]() |
| Thread Tools | |
| Display Modes | |
| |