how can i implement an SqlDataReader inside another SqlDataReader? my problem is i have an SqlDataReader. i am issuing while(reader.read()) and inside the while loop i have to create another SqlDataReader to read from the database. but i'm getting exceptions about connection being already open. so whats the best way to solve my problem
edit
i am using clr to create my stored procedures. i tried to put MultipleActiveResultSets=true; within the connection string of both the clr and the project, and an exception occured when i tested my stored procedure on MS-SQL: System.InvalidOperationException: There is already an open DataReader associated with this Command which must be closed first.