No SqlServer class in System.Data namespace ???

  • Thread starter Thread starter tiger79
  • Start date Start date
T

tiger79

Ok, now it sees the System.Windows.Forms but I still got a proble with sql
class :( I placed a reference to System.Data but now it seems to know the
subclass .SqlClient but not SqlServer ???
is it maybe beacuas ei'm making a class project instead of a Smart Device
project ????
 
To access System.Data.SqlServerCe you need to add a reference to it (it's a
separate assembly). There is no namespace System.Data.SqlServer - to access
a standalone SQL Server you use System.Data.SqlClient namespace
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top