Easiest way to add DataTable rows to an existing DataGrid?

  • Thread starter Thread starter None
  • Start date Start date
N

None

I'm reading a DataTable from a web service. The table has potentially
thousands of rows so I'm reading it in clumps via multiple calls to the web
service (I have to do it like this for reasons I won't get into).

I'm displaying all of the rows as I read them in a client-side Windows Forms
DataGrid. How can I add rows to the grid without rebinding the entire
DataSource? I want to allow the user to be able to scroll around the grid
as the asynchronous web service processing is getting the data and adding
the rows to the grid.
 
DataSet.Merge could work if I can only figure out a way to keep the grid
scrollbar position from resetting back to the top when the merge happens.

Any ideas?
 
Back
Top