如果连接成功,参数消息会自动传送到ADOStoredProc中,所以只需要直接
ADOStoredProc1.Parameters.ParamByName('@name').asstring:=
ADOStoredProc1.Parameters.ParamByName('@j1').asinteger:=
ADOStoredProc1.Parameters.ParamByName('@j2').asinteger:=
ADOStoredProc1.Parameters.ParamByName('@name').asstring:=
ADOStoredProc1.Parameters.ParamByName('@j1').asinteger:=
ADOStoredProc1.Parameters.ParamByName('@j2').asinteger:=
解决方案 »
- rxRichEdit是否可以代码赋值字符串并且加上格式?
- cbx delphi 前途如何
- 关于VCL的,请高手指点。。。
- 问个简单的问题
- 如何将页面导出到WORD中???
- 请问那里有关于pop3和idmessages的资料啊(delphi7.0的)?
- delphi有没有经典书籍
- 小问题!80分呢!在线等候
- 如何搜索目录下的文件并且把文件名一一列入ListBox!
- 暑假想在北京找工作,delphi得学到什么程度,我是说至少
- 哪里有可以把exe文件转成十六进制和转换成asc码的软件!
- 1、用QReport控件怎么进行纸张大小(自定义纸张的设置)?2、怎么设置横向与竖向打印?都直接用程序实现,用QReport?
var
timestr:string;
begin
storedproc1.prepare;
ADOStoredProc1.Parameters.ParamByName('@j').asinteger:=1;
storedproc1.execproc;
timestr:=storedproc1.parambyname('@dt').asstring;
storedproc1.unprepare;
storedproc1.close;
messagedlg(timestr,mtinformation,[mbyes,mbno],0);
end;