If you are getting this message: "The type name 'SqlConnection' could not be found in the namespace 'System.Data.SqlClient'. This type has been forwarded to the assembly 'System.Data.SqlClient, Version=4.6.1.0"; it is because you are trying to use the .NET Standard component directly from the .NET Framework (Desktop or ASP.NET).
✅ Solution:
Install all the projects that use System.Data, the NuGet System.Data.SqlClient 4.5.1. or later.
Please subscribe ❤️ ...and turn on notifications! 🔔
Tags:
sqlconnection
c# sql connection
using sqlconnection c#
using sqlconnection
new sqlconnection
c# sqlconnection using
c# using sql connection
new sqlconnection c#
sqlconnection could not be found
c sharp sql connection
sql connection in c# windows application
SqlConnection could not be found in the namespace
the type sqlconnection could not be found
sql connection could not be found
Watch video SqlConnection could not be found in the namespace | Fixed online without registration, duration hours minute second in high quality. This video was added by user TECHINSPEC 06 November 2020, don't forget to share it with your friends and acquaintances, it has been viewed on our site 47,930 once and liked it 1.2 thousand people.