🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.database.ado
Article #3712

Re: What is better to use ?

#3712
From: Ronald Loonstra
Date: Wed, 26 Jun 2002 08:10
37 lines
2044 bytes
Uros,

It's somehow a question of taste. Usage of DB aware controls has some
advantages:
- controlling the update of the control when the underlying value changes
- controlling the update of the database when the control changes
- keep track of the database modified state, read-only state etc..

When you don't use DB aware controls you have to implement al this yourself:
reading, changing, updating, deleting, notification of changes, etc.. In my
opinion you're then going back to a somewhat more procedural type of
programming in stead of object-oriented programming.

--
HTH

Ronald Loonstra
CodeFit Applications
www.codefit.nl

"Uros Obradovic" <ouros@hotmail.com> schreef in bericht
news:3d1933ce$1_1@dnews...
> What is better to use:
> - DBEdit or
> - regular Edit control when writing database application ???
>
> I was wondering do you guys use DBEdit controls where you connect each
> control with certain field in the table or you use Edit control where each
> control has something like this Edit1->Text = Person->Field("LastName")
...
>
> What is better and why ?
>
> Thanks
> Uros
>
>
Technical Details
Message-ID: <3d1975d0_2@dnews>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!supernews.com!news3.cnt.ru!srcc!newsfeed.gamma.ru!Gamma.RU!opentransit.net!fr.clara.net!heighliner.fr.clara.net!newsfeed01.sul.t-online.de!t-online.de!dnews
References: <3d1933ce$1_1@dnews>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10698b,14bf98878173911b
X-Google-Attributes: gid10698b,public
X-Google-ArrivalTime: 2002-06-26 01:09:24 PST
From: "Ronald Loonstra" <r.loonstra@codefit.nl>
Newsgroups: borland.public.cppbuilder.database.ado
References: <3d1933ce$1_1@dnews>
Subject: Re: What is better to use ?
Date: Wed, 26 Jun 2002 10:10:42 +0200
Lines: 39
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.50.4522.1200
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200
NNTP-Posting-Host: 217.121.245.5
Message-ID: <3d1975d0_2@dnews>
X-Trace: dnews 1025078736 217.121.245.5 (26 Jun 2002 01:05:36 -0700)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!supernews.com!news3.cnt.ru!srcc!newsfeed.gamma.ru!Gamma.RU!opentransit.net!fr.clara.net!heighliner.fr.clara.net!newsfeed01.sul.t-online.de!t-online.de!dnews