Setting Up a Project
Before an application can work with ADO.NET, you must configure your projects to reference the .NET Compact Framework data providers that you plan to use.
Setting Up a Project
Before an application can work with ADO.NET, you must configure your projects to reference the .NET Compact Framework data providers that you plan to use.
To create a reference to the .NET Compact Framework data provider
In an open Microsoft Visual Studio® .NET project, on the Project menu, click Add References.
On the .NET tab, select either System.Data.SqlServerCe for SQL Server CE or System.Data.SqlClient for SQL Server version 7.0 or later.
Note In some cases, you may need to reference System.Data.Common if your application uses DataAdapter or CommandBuilder classes.