Hi,
I am stuck with the function that returns the results from a LINQ2SQL stored procedure. This function will be used as a combo box data source to fill it. Any suggestions.
public List<TM_Payment> getSuspendedPayments()
{
List<TM_Payment> Identity = (List<TM_Payment>)tmd.TM_GetSuspendedPayments();
return Identity;
}
Unable to cast object of type 'SingleResult`1[TradeMark.TM_GetSuspendedPaymentsResult]' to type 'System.Collections.Generic.List`1[TradeMark.TM_Payment]'.
Thanks,
Raghu