• Misha_SQL - Friday, April 20, 2018 9:15 AM

    I get a red squiggly line under this statement:
    using System.Data.SqlClient;
    the hint says "the type or namespace SqlClient does not exist in the namespace System.Data
    Tried adding references to System.Data.dll (I found a ton of them on my machine), but it doesn't seem to help

    Jonathan AC Roberts - Friday, April 20, 2018 10:03 AM

    Misha_SQL
    You might need to add System.Data to the project references. When you are typing it intellisence should show you the available items.

    Jonathan is correct, what I have in my project references is System.Data, with the same version numbers as the System reference.
    When you said you tried adding references to System.Data.dll was that in the project references (right-click references and select Add Reference) or something else?