I am having trouble navigating through the forums to locate a LINQ forum so I am posting here. Please excuse my error if this is incorrect. I have been using LINQ for about 2 years and have not encountered this problem before. Reference the attached snippet. Note that during execution of the "foreach" loop, in the debugger at least, an error, "...connection is closed..." is thrown. I suspect that I am making a stupid mistake but cannot locate it. Oh, I am using VS2010 and C#.
View Complete Post