Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Web Controls > Iterate thru dataset

Reply
Thread Tools

Iterate thru dataset

 
 
Julia De Silva
Guest
Posts: n/a
 
      08-21-2006
Hi there all,

I'm trying to rewrite Perl code in asp.net using C# .

Could someone please give me a few tips on iterating thru a dataset in code
to get the records in a query.

I'll be returning about 300 records from a table and I want to view each
record to populate a complex HTML table with images / text checkboxes,
tooltips etc depending on the content of each database record. The VWDE
datbase components just can't do this much processing so I need to write
code and use a HTML table.

in Delphi .....
while not table.eof do begin
....
.....
table.next
end;

in Perl ......
while (my @row = $sth->fetchrow_array()){
....
....
}


Thanks in advance !

J


 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to iterate 2 nested collections w <logic:iterate> without a"getter" John Java 4 04-01-2008 09:46 AM
nested:iterate or logic: iterate with multibox?? runescience Java 0 02-09-2006 12:57 AM
iterate thru controls on page Tina ASP .Net 2 01-11-2005 06:40 AM
iterate thru controls in Table Cells? JDavies ASP .Net 2 11-11-2003 07:52 PM
<logic:iterate /> iterate beyond items in the collection Gogo Java 1 09-04-2003 08:40 PM



Advertisments