Navigating through a dataset

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi,
Is there a way to navigate through the rows of a dataset without having to
bind to a control? (at a guess, something like .Current +1)

Thanks for any ideas

Ant
 
foreach (DataRow r in MyDataSet.Tables[0].Rows)
{
//do something with the DtaaRow: r
}
 
Back
Top