O'Reilly logo

Microsoft® Mobile Development Handbook by Peter Foot, Daniel Moth, Andy Wigley

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Accessing SQL Server Directly by Using SqlClient

If you can connect your device to your LAN, using WiFi or desktop passthrough (meaning your device uses ActiveSync to connect to a computer that is connected to the LAN), you can interact directly with a SQL Server 2000, SQL Server 2005, or SQL Server 2005 Express database server. Before you can connect to SQL Server from an application, you must add a reference in the Visual Studio .NET project to the SQL Server managed provider, which is listed in the Add Reference dialog box as System.Data.SqlClient. Alternatively, you can create a project data source that connects to your SQL Server and then drag it onto a form, in which case the designer adds the appropriate references to your project for you. ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required