Question about working with single row in datatable?
Posted on 2007-03-26
What is the appropriate way to read data from a single row in a datatable.
I have a dataset table adapter that returns a single row.
In a situation where I needed to work through multiple rows I would do a
foreach (DataRow r1 in areaDT)
Is that the correct way to pull data from a single row or is there a more efficeint way to do it when you know its only a si ngle row returned?