1
Reply

BOF and EOF Not Supported in C sharp

David Smith

David Smith

Nov 10 2014 1:09 PM
1.5k
What would be the equivalent source code logic in C sharp represent the BOF and EOF in Visual Basic 6.0 ADO Recordset. We are doing a one to one mapping from VB6 to C sharp but using datatables instead of recordsets.

These are the definition below for BOF and EOF:

BOF:

Returns true if the current record position is before the first record, otherwise false


What is the source code logic showing that the current record position is before the first record?????

 

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?????

Answers (1)