Create a new Visual C# .NET Windows application.
Add below usings:
<code>using System.Data;
using System.Data.SqlClient;
</code>
<code>using System.Data;
using System.Data.SqlClient;
</code>
using System.Data;
using System.Data.SqlClient;
Code like:
SqlConnection myConn = new SqlConnection("Server=localhost;Integrated security=SSPI;database=master");
‘SqlConnection’ is underlined as error (could not be found…)
If you add SQL NUGET Package it is OK, no error.
Is it possible to code this without NUGET?
I want to use System.Data.SQLClient without installing NUGET Package.