Easiest way to add DataTable rows to an existing DataGrid?

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.
 
N

None

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?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top