窗体设计: 代码: using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; namespace WindowsFormsAppl
SqlParameter[] param = { new SqlParameter("@shopId",shopId), new SqlParameter("@newShopStr",newShopStr), new SqlParameter("@userId",userId), ), ) }; 注意:output参数需要定义大小,否则只能获取到一个字符