How to Get Linq to Prepopulate/Explicitly Fetch Data From the Database
Several people have commented to me on using LINQ to SQL and getting an ObjectDisposedException message when trying to access the returned data.
Exception: System.ObjectDisposedException: Cannot access a disposed object.
Object name: 'DataContext accessed after Dispose.'
This can occur when using Linq to SQL to retrieve data from a database – and when you try to access [...]

Read Users' Comments (0)