Thread View: borland.public.delphi.database.bdp
3 messages
3 total messages
Started by Richard Guillen
Thu, 22 Feb 2007 20:16
BDP and VCL.Net personality
Author: Richard Guillen
Date: Thu, 22 Feb 2007 20:16
Date: Thu, 22 Feb 2007 20:16
15 lines
1276 bytes
1276 bytes
Hi, I using BDP in my ASP.NET projects and all work fine, but I try to use it with VCL.Net project and ins't there a way to show data in the data contols component. Can't I use BDP in VCL.Net personality? Do you show me a example VCL.NET database application with BDP? I using Delphi 2005 Enterprise and Oracle 10G database. Thanks. Richard.
Re: BDP and VCL.Net personality
Author: Wayne Niddery [TeamB]
Date: Fri, 23 Feb 2007 15:23
Date: Fri, 23 Feb 2007 15:23
28 lines
2263 bytes
2263 bytes
Richard Guillen wrote: > > I using BDP in my ASP.NET projects and all work fine, but I try to > use it with VCL.Net project and ins't there a way to show data in the > data contols component. > > Can't I use BDP in VCL.Net personality? > > Do you show me a example VCL.NET database application with BDP? Two different technologies. The BDP classes are based on ADO.Net and use .Net databinding. They know nothing about the VCL, specifically about TComponent, and so cannot be dropped on VCL forms or datamodules. VCL controls, although compiled to be usable under .Net, require TDataset/TDatasource classes to hook up to and know nothing about .Net databinding. You can still use BDP, but there is more manual work - the BDP components must be created and configured in code instead of on a design-time surface. You can drop TListConnectors (under the DataAccess tab) which is a TDataset descendant you can hook a normal TDatasource and data-aware controls to, then at runtime, link its DataObject property to any .Net component that implements IBindingList (.Net Dataset, etc.). -- Wayne Niddery - Winwright, Inc (www.winwright.ca) "Light is faster than sound, which is why some folks appear bright before they speak."
Re: BDP and VCL.Net personality
Author: Richard Guillen
Date: Fri, 23 Feb 2007 16:02
Date: Fri, 23 Feb 2007 16:02
37 lines
2548 bytes
2548 bytes
Hi Wayne, Thank for your answer and time, this help me so much. Richard. "Wayne Niddery [TeamB]" <wniddery@chaffaci.on.ca> wrote in message news:45df06a7$1@newsgroups.borland.com... > Richard Guillen wrote: >> >> I using BDP in my ASP.NET projects and all work fine, but I try to >> use it with VCL.Net project and ins't there a way to show data in the >> data contols component. >> >> Can't I use BDP in VCL.Net personality? >> >> Do you show me a example VCL.NET database application with BDP? > > Two different technologies. The BDP classes are based on ADO.Net and use > .Net databinding. They know nothing about the VCL, specifically about > TComponent, and so cannot be dropped on VCL forms or datamodules. VCL > controls, although compiled to be usable under .Net, require > TDataset/TDatasource classes to hook up to and know nothing about .Net > databinding. > > You can still use BDP, but there is more manual work - the BDP components > must be created and configured in code instead of on a design-time > surface. You can drop TListConnectors (under the DataAccess tab) which is > a TDataset descendant you can hook a normal TDatasource and data-aware > controls to, then at runtime, link its DataObject property to any .Net > component that implements IBindingList (.Net Dataset, etc.). > > -- > Wayne Niddery - Winwright, Inc (www.winwright.ca) > "Light is faster than sound, which is why some folks appear bright > before they speak." >
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads