logikurl
logikurl

Reputation: 135

using System.Data.SqlClient namespace does not exist?

Ok Seriously confused here.

I'm using Visual Studio 2012 in a Windows Phone 8 project, I have SQLite installed from NuGet into my Visual Studio, as well .NET framework. I type in "using System.Data.SqlClient; and it says the assembly reference is missing? I know this isn't a .DLL as SqlClient is part of the System.Data assembly, however it only provides me with the options of System.Data.Common and System.Data.Linq when using this, not SqlClient, can anyone explain why? Been banging my head over this and googling like mad for hours!

Upvotes: 0

Views: 3258

Answers (1)

Habib
Habib

Reputation: 223247

System.Data.SqlClient is used for SQL Server, which you probably don't need on WP8. You are looking for System.Data.SQLite

so use:

using System.Data.SQLite;

Upvotes: 3

Related Questions