This function call to a custom class returns a SqlDataReader but why do I get an error saying that MyReader is closed? I have verified that the reader contains data before I exit the function call. Am I doing something wrong in terms of creating a reader object to accept the return?
Code:Dim MyReader As SqlClient.SqlDataReader = GroupManager.GetAnnouncementTypesForGroupName(strGroupName)
