Had a similar problem/requirement in C# (using .NET 1.1):
// Assumes you have DataView DView
// DataView has a DataTable getter/setter
System.Data.DataTable DTable = DView.Table;
// Use DataRow collection in DataTable to loop
foreach (DataRow DRow in DTable.Rows)
{
// My DTable has a column name "SampleId",
// Yours will obviously be different...
Console.WriteLine("Column Value :" + DRow["SampleId"].ToString());
// You can also use array-type indexing, to get the
// correct column value from the current row
// As always, indices start with 0...
Console.WriteLine("Column Value :" + DRow[0].ToString());
}
Found this link useful, too:
http://aspalliance.com/6_Summary_Row..._of_Techniques
Good luck...