I am using this code in Script Component but any ideas why it's not recognizing the EndOfRowSet because I am displaying a MsgBox and it never hits it ??
while (buffer.NextRow())// Process each row
{
}
if (buffer.EndOfRowset)
{
// Optionally, do something after all rows have been processed.
}