SqlParameter[] param = { new SqlParameter("@shopId",shopId), new SqlParameter("@newShopStr",newShopStr), new SqlParameter("@userId",userId), new SqlParameter("@state",SqlDbType.NVarChar,100), new SqlParameter("@msg",SqlDbType.NVarChar,100) };
注意:output参数需要定义大小,否则只能获取到一个字符