三层结构中,如何给应用服务器端的主细表结构的SQL语句传参数?(100分)

  • 主题发起人 主题发起人 程云
  • 开始时间 开始时间
好象没分???
 
多人接受答案了。
 
to Fencer:
我现在用CBuilder正在学习三层编程,按照SocketConnection1->AppServer.Exec(Function("selectApp"));
调应用服务器方法时,出现“服务器运行意外情况发生”错误。
服务器端在View->Type Library中增加方法selecetApp,定义方法如下:
STDMETHODIMP TDBWFSystemImpl::selectApp()
{
DBWFSystem->ADOQuery1->Close();
DBWFSystem->ADOQuery1->SQL->Clear();
DBWFSystem->ADOQuery1->SQL->Add("select * from AppParameters");
DBWFSystem->ADOQuery1->Open();
//DBWFSystem
}

 

Similar threads

后退
顶部