我有一个关于我的 sql Duety 的课程,并且有我的问题我怎么能做这样的事情
SqlParameter storedparam = new SqlParameter();
SqlParameter param1 = new SqlParameter("@userid", SqlDbType.BigInt);
param1.Value = "87";
SqlParameter param2 = new SqlParameter("@ip",SqlDbType.VarChar,40);
param2.Value = "192.168.1.1";
storedparam = param1 + param2; //this parth have problem
Db myobject = new Db(myconection);
myobject.writestoredpro("nameofsotred",storedparam )