{"ORA-01008: 并非所有变量都已绑定"} 找不到问题,请帮帮忙!!!

public DataSet Selectdata(string Order_number)
{

      string str =@"select VEH_PLATE_NUMBER,VEH_PLATE_COLOR,VEH_TYPE,VEH_BRAND_CODE from WEB_BOOKED_VEHICLES  where Order_NO=:ORDERNO";
       OracleParameter []prara = new OracleParameter[]
       {
        new OracleParameter(":ORDERNO",Order_number)
      };

       return oracleHelper.ExecuteProcDataSet(str,prara);
   }

1个回答

OracleParameter[] prara = new OracleParameter[]{
new OracleParameter(":ORDERNO",OracleType.VarChar,50)
};
prara[0].Value = Order_number;

Csdn user default icon
上传中...
上传图片
插入图片
抄袭、复制答案,以达到刷声望分或其他目的的行为,在CSDN问答是严格禁止的,一经发现立刻封号。是时候展现真正的技术了!
立即提问