These are the definition below for BOF and EOF:
BOF:
Returns true if the current record position is before the first record, otherwise false
EOF:
Returns true if the current record position is after the last record, otherwise false
What is the source code logic showing that the current record position is after the last record?????
Jaganathan BantheswaranPosted Nov 11, 2014, 12:50 AM
If you are using DataTable in C#, then you just need to Loop through Rows, something like this,
// This uses the GetTable method (please paste it in).
DataTable data = GetTable(); // assigning your data table here
//Loop over all rows.
foreach (DataRow row in data.Rows)
{
// ... Write value of first field as integer.
Console.WriteLine(row.Field
}