Question

i need your help. I need to create a windows forms application and add 2 databases to it, sqlite and sql-ce, with testing purposes.can you give me some tutorials or documentation to learn how to add that db-s to my project?. I tried to find with google, but the results are some kind of confusing, that's why i'm asking here.thanks in advance.

Was it helpful?

Solution

for SQL-Ce you to need first to download SQL Compact (try here ) and then add:

System.Data.SqlServerCe;

to your Project.

The syntax of the coding follows the same logic with System.Data.SqlClient; dll expect you need to add the ce prefix, e.g:

ceConn = new SqlCeConnection(CONNECTIONSTRING);

For SQLlite see this

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top