corba中写接口方法更新数据库.急!急!急!急!急!
我在三层结构中的应用服务器上写了一个方法要把从客户端传来的数据更新到数据库中,我用的是ADO的组件,请问我要客户端传什么样的数据过来,我在应用服务器中怎么样接受它的数据集.要怎么写?
我原本是这样写的,可是不行!(OleVariant类型不能赋给Tadodataset的实例)
procedure TAccount.GetAccount(Account: OleVariant);
var
dt:Tadodataset;
begin
dt:=Tadodataset.Create(nil);
dt:=Account;
dt.UpdateBatch(arAll);
dt.free;
end;