문제

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.

도움이 되었습니까?

해결책

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

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top