Hi there,
You should install the NuGet package in your project first. If you don't, Visual Studio's Intellisense will still work when you add the using but you won't be able to use it's types in your code.
-Right Click on your project file in the solution panel, and then Click on the Manage NuGet Packages option.
-In the NuGet Package Manager window, Select the BrowserRight Click on your project file in the solution panel, and then Click on the Manage NuGet Packages option.
-Select the first option, System.Data.SqlClient by Microsoft Click on the install button wait for the installation to complete.
--If the reply is helpful, please Upvote and Accept it as an answer--