Category: Programming Language

c# – Solving “The ObjectContext instance has been disposed and can no longer be used for operations that require a connection” InvalidOperationException

The Question : 123 people think this question is useful I am trying to populate a GridView using Entity Frameworkm but every time I am getting the following error: “Property accessor ‘LoanProduct’ on object ‘COSIS_DAL.MemberLoan’ threw the following exception: The ObjectContext instance has been disposed and can no longer be used for operations that require