SqlServerCe

A forum devoted to the discussion of all topics having to do with scripting and other advanced programming using iX Developer.
Post Reply
dthomas
Posts: 14
Joined: Tue Jun 11, 2019 6:06 pm

SqlServerCe

Post by dthomas »

Just a quick question - I am working modifying a program to use a database instead of my previous solution.

For testing sake I have created a sample db - used tools within VS to create a .sdf of the db. I am now trying to see if I can connect to the db within IX Developer.

I found online some sample code which was older (Script_Database_Adjustable_Columns) and converted it to IX Developer 2.4 and changed the display for it to run. This sample code works great.

Next I created a new project for testing that has a button to try connecting to my database. I have included the same:

using System.Data.SqlServerCe;

in my version as in the sample version. When I try to build it fails telling me that SqlServerCe is not in the namespace. So then I try to add the proper reference assembly from the SQL Server Compact Edition (3.5 or 4.0) on my machine and try to build again and it fails telling me that there is already a reference assembly with the same name or different version already used.

Am I missing something?

User avatar
Russ C.
Posts: 213
Joined: Thu Nov 16, 2017 3:32 pm
Contact:

Re: SqlServerCe

Post by Russ C. »

You may look into our SQL Proxy program/project:
https://www.beijerelectronics.com/en/Su ... 66955#fbx0
Best regards,

Russ
(801) 708-6690
Technical Support
Contact Us

Beijer Electronics AB
http://www.beijerelectronics.us

Post Reply