Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to get a reference of DataSet row?
Message
Information générale
Forum:
ASP.NET
Catégorie:
ADO.NET
Versions des environnements
Environment:
C# 2.0
Divers
Thread ID:
01272229
Message ID:
01272232
Vues:
9
This message has been marked as the solution to the initial question of the thread.
>I need to loop through values of all columns in a dataset/datatable for the first row in the dataset. So I don't want to set the foreach loop for each row. How do I get the reference of a DataRow 0?
>
>Thank you.
DataRow row = dsMyTable.Tables["tblMytable"].Rows[0];
-Paul

RCS Solutions, Inc.
Blog
Twitter
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform