Foreach (Datarow rw in MyDatatable.Rows)
{
//Do what you need to the row here
messagebox.show(row);
}