SqlConnection could not be found in the namespace | Fixed

Поделиться
HTML-код
  • Опубликовано: 11 окт 2024
  • 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

Комментарии • 246