Re: How can I use DObject data with DBGrid?

DObject O/R Mapping Suite

How can I use DObject data with DBGrid?


onurbaran 01-15-2008, 11:59 PM
Hi All,

I have a question. (I think not last question Smile [:)] )
How works DObject dataset with DBGrid or any component? I want to what look at following code:


procedure TfrmDObjectTest.btnGetAllOrdersClick(Sender: TObject);
var
orders : IObjectSet;
order: IOrder;
i : integer;
begin
orders := ObjectManager.GetObjectSet(NW.Order);
for I := 0 to orders.Count - 1 do
begin
order := orders[ i ] as TOrder;
end;
end;

I want to using result set with DBGrid. How?

Re: How can I use DObject data with DBGrid?


Wisdom 01-16-2008, 6:30 AM
Currently DObject can not support data-binding.
You could use OQL.Delphi to get Dataset, and use the Dataset bind to DBGrid.
We are sorry for the inconvenience.

Re: How can I use DObject data with DBGrid?


csdbarnold 10-28-2010, 6:09 PM
Please delete this post.

Powered by Community Server, by Telligent Systems