How to pass a string larger than 200 character to a stored procedure via param

后端 未结 2 1277
别那么骄傲
别那么骄傲 2021-01-29 09:28

I got stuck with one problem, in my code i have to make a sum request of all article that is present in my datatable, i concatenate all article ID in one string like \'a1,a2,a3\

2条回答
  •  别那么骄傲
    2021-01-29 10:22

    I had p.Size = 200; inside my method that is adding the Sql parameters, i had to change it to p.Size = 8000; and it's working.

    Thanks everybody for the help !

提交回复
热议问题