Tuesday, 10 May 2022

ASp.net core context execute proc issue

while executing proc getting below issue.

 The SqlParameterCollection only accepts non-null SqlParameter type objects, not String objects

due to wrong namespace

using System.Data.SqlClient to using Microsoft.Data.SqlClient

imp





No comments:

Post a Comment

7 Common mistakes in Dot Net — You can avoid

  There are many common mistakes made during .NET (ASP.NET, .NET Core) development, which affect performance, security, and code… Code Crack...