Article View: borland.public.cppbuilder.oodesign
Article #81data aware grid
From: Jeff Kish
Date: Mon, 16 Jun 2008 23:33
Date: Mon, 16 Jun 2008 23:33
16 lines
1608 bytes
1608 bytes
Hi. Can someone give me a pointer or suggestion on how to approach the issue of writing a data aware grid control? I have grid I like, and I have a database interface c++ /dll level, and I'd like to consider marrying the two so that it could be used with an existing application. I'm a bit fuzzy on the proper/reasonable way to figure out how to apply editting updates put into a grid into the db, except possibly just iterating through rows and looking for 'changed' flag, and then checking to see if the change is a valid one (perhaps not allowing changes to columns that represent part of a primary key or some such). thanks Jeff
Technical Details
Message-ID:
<fttd5410fusm46t3op840efn8o8p1f5p0n@4ax.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!nx01.iad01.newshosting.com!newshosting.com!198.186.194.250.MISMATCH!news-out.readnews.com!news-xxxfer.readnews.com!ucberkeley!news-hog.berkeley.edu!203.109.252.33.MISMATCH!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Thread: 10db1e,4d10f88e5116f11d,start X-Google-Attributes: gid10db1e,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit From: Jeff Kish <kishjjrjj@charter.net> Newsgroups: borland.public.cppbuilder.oodesign Subject: data aware grid Date: Mon, 16 Jun 2008 19:33:48 -0400 Message-ID: <fttd5410fusm46t3op840efn8o8p1f5p0n@4ax.com> X-Newsreader: Forte Agent 3.0/32.763 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 24.231.255.88 X-Trace: newsgroups.borland.com 1213658964 24.231.255.88 (16 Jun 2008 16:29:24 -0700) Lines: 16 Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!nx01.iad01.newshosting.com!newshosting.com!198.186.194.250.MISMATCH!news-out.readnews.com!news-xxxfer.readnews.com!ucberkeley!news-hog.berkeley.edu!203.109.252.33.MISMATCH!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail