1

I was using this tutorial and I'm stuck in this part. The guide tells me to choose 'Microsoft SQL Server', however this is not included in the options of my computer. I only have 'Microsoft Database File', 'Microsoft Server Compact', and 'Microsoft Database Server File'.

How could I add the option 'Microsoft SQL Server'?

Afungus
  • 103
  • 8

4 Answers4

1

I don't think the express version can natively connect to SQL server. I can't seem to find any documentation on this, but if I recall correctly it was one of the reasons we switched to pro way back when. Anyways, perhaps this post will help: How to connect Visual Studio 2010 Express C# to SQL Server Express

Community
  • 1
  • 1
Robert H
  • 11,520
  • 18
  • 68
  • 110
1

If yours is a web application, then you can do it the way its shown in your tutorial,

but if yours is a Winforms of WPF application you can't do it with Visual Studio Express..

There are other ways to connect using SqlConnection, SqlCommand objects etc, which are not design time..you can use them however..

techBeginner
  • 3,792
  • 11
  • 43
  • 59
0

please select option other from that part and then select ".NET Framework Data Provider for SQL Server" from that list. please try let me know

Thangamani Palanisamy
  • 5,152
  • 4
  • 32
  • 39
0

maybe you are missing some component try to download http://www.microsoft.com/web/downloads/platform.aspx