Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Simple way to scan thru DataSet
Message
De
13/10/2003 13:00:26
 
 
À
Tous
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Titre:
Simple way to scan thru DataSet
Divers
Thread ID:
00838181
Message ID:
00838181
Vues:
68
I'm looking for a simple way to scan thru a DataSet. I have the following code:
Response.Write("<UL>")
Dim i As Integer
For i = 0 To loData.Tables("Temp").Rows.Count - 1 Step i + 1
   Response.Write("<LI>" + loData.Tables("Temp").Rows(i)("UserGroup"))
Next
Response.Write("</UL>")
Is there a faster way to do this?

Such as instead of using a For/Next, is there a way to use While Not Eof?
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform