07-20-2023, 12:59 PM
I tried all the above-mentioned steps but nothing helps.
Finally found and fixed it by changing the namespace
> **using System.Data.SqlClient** to **using Microsoft.Data.SqlClient**
Reference:
Finally found and fixed it by changing the namespace
> **using System.Data.SqlClient** to **using Microsoft.Data.SqlClient**
Reference:
[To see links please register here]