Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 9052

How to programmatically connect to SQL CE 3.5 Database

$
0
0

I have a c# application using SQL 2008 database and crystal report works as required to.


To make the application to be transportable with ease, I have converted the database to use SQLCE3.5 and I have re-written the queries as necessary to make the connection to the stand-alone database currently stored as  Debug\Data\xyz.sdf.


However, this change has resulted in my Crystal Reports to stop functioning.


Can someone advise in how I need to change the connection values in order to establish the connection and maintain it when the application is transferred to another pc.


I have left the database open (without username and password).

Is it a good practice to have username and password (for connection purposes) even though data may not be critical?


Thanking you in advance.


Viewing all articles
Browse latest Browse all 9052

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>