loop threw dataset?

  • Thread starter Thread starter DaveF
  • Start date Start date
D

DaveF

I have a dataset that I need to loop threw the rows of the table. What is
the best way to do this?
 
DaveF said:
I have a dataset that I need to loop threw the rows of the table. What is
the best way to do this?

Well, when you've found the right table, use

foreach (DataRow row in dataTable.Rows)
{
....
}
 
Back
Top