|
楼主 |
发表于 2020-3-18 00:15:01
|
显示全部楼层
public void JiSuanZongHe(string faid,string bjid,string xsid)
{
string Error = "";
SqlParameter[] para = {
new SqlParameter("@faid", SqlDbType.NVarChar,40),
new SqlParameter("@bjid",SqlDbType.NVarChar,40),
new SqlParameter("@xsid",SqlDbType.NVarChar,40),
new SqlParameter("@error",SqlDbType.NVarChar,500)
};
para[0].Value = faid;
para[1].Value = bjid;
para[2].Value = xsid;
para[3].Direction = ParameterDirection.Output;
HNXL.Utility.DbHelperSQL.RunProcedure("P_JISUAN_ZHCJ",para,out Error);
}
这个是我最早写的执行别的存储过程没有问题 |
|