net 报错 The SqlParameterCollection only accepts non-null SqlParameter type objects

把引用空间  using System.Data.SqlClient 替换成 using Microsoft.Data.SqlClient;

  

posted @ 2023-03-02 14:22  yuezc97  阅读(24)  评论(0)    收藏  举报