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

API run block issue run api from cmd

  ✅ Debug Checklist – “Access is Denied” (.NET / Visual Studio) 🔹 Identify Problem ☐ Error: Unable to start program (.exe) – Access is deni...