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

remove duplicates in an sorted array

  using System; public class HelloWorld {          public static void Main(string[] args)     {         int[] ar={2,2,3,3,4,6,6};          C...