如何通过存储过程把SQL的数据传递到DELPHI中?如何用delphi截获SQL的出错信息? 如何通过存储过程把SQL的数据传递到DELPHI中?如何用delphi截获SQL的出错信息? 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 ado下:try result := ADOStoredProc1.Parameters.ParamByName('res').Value; except On E:exception do ShowMessage(E.Message); end; BDE下:try result := StoredProc1.ParamByName('res').Value; except On E:exception do ShowMessage(E.Message); end;//res为存储过程里类型为out的参数;否则无法传回值 adocheckroute.Close; adocheckroute.ParamByName('aaa').AsString :=www; adocheckroute.ParamByName('bbb').AsString :=xxx; adocheckroute.ParamByName('ccc').AsString :=yyy ; adocheckroute.Prepare ; adocheckroute.ExecProc ; 窗体全屏边框如何去掉?? 这样的功能能实现吗? maskedit格式问题,向大家请教!! 如何实现DBGRID自动让选中的蓝条跳到符合条件的记录上 怎么样通过进程的句柄的出这个进程中产生的线程及线程的句柄 Panel使用里自动dock 浮动,浮动了之后怎么让它恢复原状啊?? 请各位在数据库方面成功的大哥帮助 怎样编写设置某个目录为共享目录? 如何让程序在系统启动时就运行? 寻找和TSuperGrid for Delphi5 或功能与之相似的控件? 如何获得本机的IP地址,在点对点通信程序中如何获得发消息过来的主机的IP地址 如何通过DLL文件调用窗体,请举例说明?
try
result := ADOStoredProc1.Parameters.ParamByName('res').Value;
except
On E:exception do
ShowMessage(E.Message);
end;
try
result := StoredProc1.ParamByName('res').Value;
except
On E:exception do
ShowMessage(E.Message);
end;
//res为存储过程里类型为out的参数;否则无法传回值
adocheckroute.ParamByName('aaa').AsString :=www;
adocheckroute.ParamByName('bbb').AsString :=xxx;
adocheckroute.ParamByName('ccc').AsString :=yyy ;
adocheckroute.Prepare ;
adocheckroute.ExecProc ;