I am trying to reference System.Data.SqlServerCe but it is not present. When I try to browse and add the file, it is not present anyway. What is the problem?
Asked
Active
Viewed 2,603 times
1 Answers
0
This can be solved confirming following 2 points:
- Check whether you already have
System.Data.SqlServerCe
namespace added to the References folder of your application. If its not there you may right click the References folder and select Add references option. From the popup window go to .Net tab and selectSystem.Data.SqlServerCe
from the list and click OK to add the namespace to the project. - If you are OK with step 1, add
using System.Data.SqlServerCe;
to the top of your code behind file which uses the System.Data.SqlServerCe namespace.

Community
- 1
- 1

Vignesh Kumar A
- 27,863
- 13
- 63
- 115