Code:
 

foreach (DataRowView invoiceRow in invoicebindingsource)
{
ipasstotal = invoiceRow("totalpayments");
}
I get

'invoiceRow' is a 'variable' but is used like a 'method'

It may be due to the late hour but i am completely stumped.