sto.ProcedureName :='cardsearch';
sto.Parameters.ParamByName('@candpno').Value :='11111';
sto.Prepared :=true;
sto.Open ;
请问有什么错误么,该如何写
sto.Parameters.ParamByName('@candpno').Value :='11111';
sto.Prepared :=true;
sto.Open ;
请问有什么错误么,该如何写
解决方案 »
- delphi 中怎么实现主界面的分页显示(就像360,QQ医生)
- delphi2007的工具书大家给推荐一下
- 想报培训班java、C#、网页制作、学哪个好?
- DBgrid显示宽度
- 查找某一字符串中某一子字符串的所在位置,如Vb中的Instr函数
- 如果把FORM的网格设小点
- Could not create output file 'GAMManager.exe'
- 求教:用TPageControl对象、TTabSheet对象,如何改变每一页的颜色(即每页颜色都不同)?
- 同庆:北京获得2008年夏季奥运会主办权
- 在使用ADO时,经常出现"Either BOF or EOF is True, ....."如何解决?
- 搜索了CSDN的资料宝库,还是不能解决的高难问题-----有关快捷方式和ShellExecuteEx!!
- 请问关于ADO数据更新的问题
STO.Parameters.ParamByName('@candpno').DataType:=ftString;
sto.Parameters.ParamByName('@candpno').Value :='11111';
sto.Prepared :=true;//可以不要;
sto..ExecProc;
改为Parameters[1]
sto.Parameters.ParamByName('@candpno').Value :='11111';
sto.Prepared :=true;
sto.ExecProc ;
然后
sto.ProcedureName :='cardsearch';
sto.Prepared:= true;
sto.Parameters.Refresh;
sto.Parameters.ParamByName('@candpno').Value :='11111';
sto.Prepared :=true;
sto.Open ;
sto.Prepared:= true;
sto.Parameters.Refresh;
sto.Parameters.ParamByName('@candpno').Value :='11111';
sto.Open ;