R
Ron
Hi,
i have been lokking for a resolution for this seemingly simple problem I'm
having with no success.
I have a Generic List of CompanyPayrollTaxes:
List<CompanyPayrolltax>m_CompanyPayrollTaxRecordsToPay
I need to get a sub collection of each CompanyPayrolltax by Distinct
PaymentNumber
My problem is that I have been using:
foreach(CompanypayrollTax t in
m_CompanyPayrollTaxRecordsToPay.FindAll((CompanyPayrollTax pt) =>
pt.PaymentNumber).Distinct)
and it doesn't seem to have any effect whatsoever.
What am I missing?
Thanks!
Ron
i have been lokking for a resolution for this seemingly simple problem I'm
having with no success.
I have a Generic List of CompanyPayrollTaxes:
List<CompanyPayrolltax>m_CompanyPayrollTaxRecordsToPay
I need to get a sub collection of each CompanyPayrolltax by Distinct
PaymentNumber
My problem is that I have been using:
foreach(CompanypayrollTax t in
m_CompanyPayrollTaxRecordsToPay.FindAll((CompanyPayrollTax pt) =>
pt.PaymentNumber).Distinct)
and it doesn't seem to have any effect whatsoever.
What am I missing?
Thanks!
Ron