🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: How do I loop around a dataset ?

#646
From: Marc Scheuner
Date: Fri, 24 Sep 2004 06:57
21 lines
1736 bytes
>This works fine in C# but in Delphi I am having trouble declaring a DataRow:
>> DataRow oMyWorkRow := myDataTable.Rows[someIndex];
>
>var
>    dbRow : DataRow;
>Begin
>    dbRow := DataRow.Create;
>End;
>
>This is not working. Should I declare a DataRow in another way ?!?

How is it not working? Do you get an error when you compile it?? If so
- did you add a "uses System.Data.SqlClient" to your uses clause?? 

Is it not working at runtime?? Does it throw an error / exception? If
so, which one??

Marc
================================================================
Marc Scheuner                        May The Source Be With You!
Bern, Switzerland                         m.scheuner(at)inova.ch
Technical Details
Message-ID: <38h7l0djqan4cgdd8vv3iqn0nseq0q0qmu@4ax.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newshosting.com!nx01.iad01.newshosting.com!203.109.252.33.MISMATCH!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail
References: <413702a3$1@newsgroups.borland.com> <oi9ej09cdj7rjv8s67b2au1ea87kgp1dm0@4ax.com> <4152b899@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 1effe6,86650b4da60f7bbe
X-Google-Attributes: gid1effe6,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: Marc Scheuner <no.spam@for.me>
Newsgroups: borland.public.delphi.database.dotnet
Subject: Re: How do I loop around a dataset ?
Date: Fri, 24 Sep 2004 08:57:02 +0200
Message-ID: <38h7l0djqan4cgdd8vv3iqn0nseq0q0qmu@4ax.com>
References: <413702a3$1@newsgroups.borland.com> <oi9ej09cdj7rjv8s67b2au1ea87kgp1dm0@4ax.com> <4152b899@newsgroups.borland.com>
X-Newsreader: Forte Agent 1.93/32.576 English (American)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 195.141.64.252
X-Trace: newsgroups.borland.com 1096009020 195.141.64.252 (23 Sep 2004 23:57:00 -0700)
Lines: 21
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newshosting.com!nx01.iad01.newshosting.com!203.109.252.33.MISMATCH!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail