Article View: borland.public.delphi.aspdotnet.components.using
Article #3Re: Selecting record for DBWebDataSource
From: John Moshakis
Date: Wed, 21 Jun 2006 18:41
Date: Wed, 21 Jun 2006 18:41
25 lines
1290 bytes
1290 bytes
Bob wrote: > Hi > > I have a page with several DBWeb controls linked to a > DBWebDataSource, which is in turn linked to a DataSet. I want to > select a particular record (in the Page_Load event) but I can't work > out how. I can find the record I want, but I don't know how to make > it the selected one. > > Can anyone help me? > > Bob Hi Bob, You need to use the dbwebdatasource (DBWebDataSource as IDBPostStateManager).SetCurrentRow(self,dbwebgrid.TableName,someValue); Cheers, John --
Technical Details
Message-ID:
<449992cd@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<44977672$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 21665a,b96c0235bbd1f0c X-Google-Attributes: gid21665a,public X-Google-Language: ENGLISH,ASCII-7-bit From: "John Moshakis" <john@moshakis.com> Subject: Re: Selecting record for DBWebDataSource Newsgroups: borland.public.delphi.aspdotnet.components.using References: <44977672$1@newsgroups.borland.com> User-Agent: XanaNews/1.18.1.2 NNTP-Posting-Host: 67.69.157.228 Message-ID: <449992cd@newsgroups.borland.com> Date: 21 Jun 2006 11:41:17 -0700 X-Trace: newsgroups.borland.com 1150915277 67.69.157.228 (21 Jun 2006 11:41:17 -0700) Lines: 26 Path: arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail