using System;
using System.Data;
using System.Data.SqlClient;
...
I get the following error:
The type or namespace name 'Data' does not exist in the namespace 'System' (are you missing an assembly reference?)
I'm using Visual Studio 2013 Express for Windows Desktop
You are missing assembly reference. You need to add assembly reference.
Check out following images.
Go to soution explorer right click on references and select Add Reference.
then Select System.Data assemly reference.
That's it.
Press ok.
Press F6 to rebuild your project.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With