strValue := htParams.Get(I);
strKey := htParams.GetKey(I);
ADOQuerySelect.Parameters.ParamValues[strKey] := strValue; strValue和strkey都是string类型的 当strvalue=''的时候,执行
ADOQuerySelect.Open;
就出现“不正常地定义参数对象,提供了不一致或不完整的信息”的错误,不为空的时候则正常是什么问题啊?怎么解决?
strKey := htParams.GetKey(I);
ADOQuerySelect.Parameters.ParamValues[strKey] := strValue; strValue和strkey都是string类型的 当strvalue=''的时候,执行
ADOQuerySelect.Open;
就出现“不正常地定义参数对象,提供了不一致或不完整的信息”的错误,不为空的时候则正常是什么问题啊?怎么解决?
ADOQuerySelect.Parameters.ParamByName('strKey').value := strValue; 看看