This test is generating a compile error:
private void BuildFTPRec(DataRowView a, DataRowView h)
{
foreach (DataRow r in a)
{
foreach (DataColumn dc in r)
{
Console.WriteLine(r.ToString());
}
}
}
The error is:
C:\Data\projects\TwsFtpOutTest\TwsFtpOutTest\Class 1.cs(59): foreach
statement cannot operate on variables of type 'System.Data.DataRow' because
'System.Data.DataRow' does not contain a definition for 'GetEnumerator', or
it is inaccessible