Server Error in '/' Application.

Compilation Error

Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.

Compiler Error Message: CS0029: Cannot implicitly convert type 'System.Collections.Generic.List<PaymentMethod>' to 'System.Data.DataView'

Source Error:


Line 101:            }
Line 102:
Line 103:            DataView auctionPaymentMethodsDV = PaymentMethod.GetAllAuction();
Line 104:            bool paypalFound = false;
Line 105:            foreach (DataRow auctionPaymentMethodDR in auctionPaymentMethodsDV.Table.Rows)

Source File: \\fs01\webcontent\wwwroot\milehighcardco.com\wwwroot\mobile\MyAccount.aspx.cs    Line: 103






Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.7.3770.0