Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to get a reference of DataSet row?
Message
General information
Forum:
ASP.NET
Category:
ADO.NET
Environment versions
Environment:
C# 2.0
Miscellaneous
Thread ID:
01272229
Message ID:
01272232
Views:
11
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform