Refactor my data reader to work with multiple tables
<p>How can I improve this method so that it works with multiple tables?  </p>

<pre><code>   public void ExecuteStoredProcedure(string StoredProcedureName)
   {
       using (var connection = new SqlConnection(provider.ConnectionString))
       {
           using (var command = new SqlCommand(StoredProcedureName, connection))
           {
               command.CommandType = System.Data.CommandType.StoredProcedure;
               using (var reader = command.ExecuteReader())
               {
                   while (reader.Read())//problem is here
                   {
                       Console.WriteLine(reader[0].ToString());
                   }
               }
           }
       }
   }
</code></pre>

<p>I could return the reader (but I think that means I'd have to drop my using statements).  Or, I could create a factory that processes each table depending on a parameter that I add to the ExecuteStoredProcedure().  Or whatever.  </p>

<p>How can I get the reader functionality outta here?</p>
