🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: borland.public.delphi.aspdotnet.components.using
4 messages
4 total messages Started by Bob Tue, 20 Jun 2006 04:15
Selecting record for DBWebDataSource
#2
Author: Bob
Date: Tue, 20 Jun 2006 04:15
11 lines
1149 bytes
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
Re: Selecting record for DBWebDataSource
#3
Author: John Moshakis
Date: Wed, 21 Jun 2006 18:41
25 lines
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

-- 
Re: Selecting record for DBWebDataSource
#4
Author: Bob
Date: Fri, 23 Jun 2006 00:57
18 lines
1396 bytes
>
> You need to use the dbwebdatasource
>
> (DBWebDataSource as
> IDBPostStateManager).SetCurrentRow(self,dbwebgrid.TableName,someValue);
>
> Cheers,
> John
>

Thanks for that John.

Is there any kind of documentation on IDBPostStateManager? Google doesn't 
seem to have much, and you seem to have written half of it.

Thanks
Bob
Re: Selecting record for DBWebDataSource
#5
Author: John Moshakis
Date: Fri, 23 Jun 2006 14:58
13 lines
1162 bytes
Bob wrote:

> 
> Is there any kind of documentation on IDBPostStateManager? Google
> doesn't seem to have much, and you seem to have written half of it.
> 

Sorry I don't think so. The only thing available is the source.

Cheers,
John

-- 
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