请问TADOStoredProc控件如何用? 请问TADOStoredProc控件如何用?我要用ADOStoredProc1调用存储过程,并且是带有参数的,大哥能交交我吗? 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 SP_GroupStore->Close();//TADOStoredProc参数通过如下方法赋值:SP_GroupStore->Parameters->ParamByName("@OprName")->Value = "张明";SP_GroupStore->Parameters->ParamByName("@RepDate")->Value = "2003-02-14";SP_GroupStore->Parameters->ParamByName("@MassCode")->Value = "RA-100";SP_GroupStore->Prepared = true;SP_GroupStore->ExecProc(); SP_GroupStore.procedurename:='aaaa;1';//过程名//输入参数SP_GroupStore.Parameters.ParamByName("@OprName")->Value:= "张明";SP_GroupStore.Parameters.ParamByName("@RepDate")->Value:= "2003-02-14";SP_GroupStore.Parameters.ParamByName("@MassCode")->Value:= "RA-100";SP_GroupStore.Prepared:= true;SP_GroupStore.ExecProc();//输出参数mycode:=SP_GroupStore.Parameters.ParamByName("@MyCode")->Value; 收到BORLAND的律师函了,烦!! Delphi 界面设计,看什么书好? socket接受xml后怎么解析?在线等 谁有GraphicEx.pas和GraphicCompression.pas控件? Table的事件 CTRL的ASCII码是什么? 问一个关于OO的问题,virtual怎么翻译,? 寻 vcl xp style free control 悬赏100分求最优ACCESS数据库备份和压缩函数。(这么多分不要白不要了) 关于msde? 关于状态栏中显示hint的问题 求购intraweb环境下浏览器输出报表的例子...
SP_GroupStore->Parameters->ParamByName("@OprName")->Value = "张明";
SP_GroupStore->Parameters->ParamByName("@RepDate")->Value = "2003-02-14";
SP_GroupStore->Parameters->ParamByName("@MassCode")->Value = "RA-100";SP_GroupStore->Prepared = true;
SP_GroupStore->ExecProc();
//输入参数
SP_GroupStore.Parameters.ParamByName("@OprName")->Value:= "张明";
SP_GroupStore.Parameters.ParamByName("@RepDate")->Value:= "2003-02-14";
SP_GroupStore.Parameters.ParamByName("@MassCode")->Value:= "RA-100";
SP_GroupStore.Prepared:= true;
SP_GroupStore.ExecProc();
//输出参数
mycode:=SP_GroupStore.Parameters.ParamByName("@MyCode")->Value;