Popular Articles
Last viewed:
- Data Access Layer using SqlDataReader and C#
- Tutorial for Configuring Silverlight 4, Entity Framework and WCF RIA Services in Separate Component Assemblies (DLL’s)
- Ajax - Exception has been thrown by the target of an invocation
- Find a control in a TemplateField programmatically
- Silverlight Memory Leak DataGrid, DataForm, DataTemplate, etc...
- GridView ObjectDataSource LINQ Paging and Sorting
Recent comments
- Aha! Problems with UpdatePanel? Sorted ...
11 hours 31 min ago - Some help required with this
17 hours 5 min ago - Never seen this issue
1 week 1 day ago - Error in query.ToList()
1 week 1 day ago - Thanks
1 week 1 day ago - Thanks
1 week 4 days ago - To get the data working,
2 weeks 13 hours ago - If I manually change the
2 weeks 13 hours ago - Handling EDM Relationship Metadata
2 weeks 14 hours ago - About the itextsharp version
2 weeks 16 hours ago


But you can see in the code I posted
But you can see in the code I posted that I am explicitly closing the data reader connection. This doesn't seem to be related to the LINQ. Remember, I tried this with DataReader, DataSet, and LINQ but this issue only occurs when using LINQ.