🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.csharpbuilder.language.csharp
Article #1

Iterate through a dataset

#1
From: Les
Date: Tue, 18 Apr 2006 17:33
12 lines
1039 bytes
Hi,
Im just getting started with c#. Can someone tell me how to do this Delphi example in c# please. Thanks in advance.

With clientdataset do
 begin
   first;
    while not eof do
     begin
      //populate array with a field value
     end;
 end;
Technical Details
Message-ID: <444522d8$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!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: 1efe35,ac9159a6bb04a994,start
X-Google-Attributes: gid1efe35,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Les" <les.haagensen@saint-gobain.com>
Sender: "Les" <les.haagensen@saint-gobain.com>
Reply-To: "Les" <les.haagensen@saint-gobain.com>
Subject: Iterate through a dataset 
Newsgroups: borland.public.csharpbuilder.language.csharp
X-User-Info: 195.68.31.231     
NNTP-Posting-Host: 207.105.83.66
Message-ID: <444522d8$1@newsgroups.borland.com>
Date: 18 Apr 2006 10:33:12 -0700
X-Trace: newsgroups.borland.com 1145381592 207.105.83.66 (18 Apr 2006 10:33:12 -0700)
Lines: 12
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail