🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.delphi.database.dotnet
Article #163

current record for DbWebDataSource

#163
From: Marco Milani
Date: Fri, 16 Sep 2005 16:18
19 lines
1395 bytes
How can I programmatically set the current record in a bdp aps.net 
application using dbwebdatasource and dbwebdatagrid?

At first glance I cannot find a Property or method capable of set the 
current recort.

Looking at the code I saw that dbwebdatasource gets the current row from the 
page session at key <tablename>RowIndex.

Is possibile to set the session like this :
Session["tablenameRowIndex"]=MyRowIndex;

unfortunately I make this in OnInit with non result...

Help!

Thanks

Marco
Technical Details
Message-ID: <432af00a$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!proxad.net!fr.ip.ndsoftware.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: 1effe6,ea3936d9a20f2356,start
X-Google-Attributes: gid1effe6,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Marco Milani" <marcomilani_marcomilani.it>
Newsgroups: borland.public.delphi.database.dotnet
Subject: current record for DbWebDataSource 
Date: Fri, 16 Sep 2005 18:18:36 +0200
Lines: 23
Organization: Marco
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2180
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180
X-RFC2646: Format=Flowed; Original
NNTP-Posting-Host: 82.52.49.35
Message-ID: <432af00a$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1126887434 82.52.49.35 (16 Sep 2005 09:17:14 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!proxad.net!fr.ip.ndsoftware.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail