How to process SqlCommand result (rows) as they come? In other words, I am trying to do exactly what Sql Management Studio 2005 does when executing a query with many thousand rows. To me, it looks like as soon as Sql has found the first result, it notify the UI and display the rows as they come...
I suppose that it can be done asynchronously with BeginExecuteReader and EndExecuteReader, however (in my tests) the callback method is called only when the result set is completed. Any idea on how to replicate what Sql Management Studio 2005 does?
Thanks!