I am getting an exception because I am running past end of file. How do I check for this Here is a code snippet:
DataRow[] myRows1; DataTable myTable;myTable = dataSet21.Tables[
"Table"];myRows1 = myTable.Select(
"ID > 1","ID ASC");Do
{...stuff
}
While MyRows
Thanks in advance - Dan

Find End of DataRow[]
RodrigoRovere
Works Great! Thanks for helping a newbie Karthik.
Tackarama
DataRow[] myRows1 = myTable.Select("ID > 1","ID ASC");
foreach(DataRow r in myRows1 ){
}