Updating bound DataTable from Http response / WS call RRS feed

  • Question

  • Hello. I am using .NET 2.0 / C#. No Smart Clients or application blocks.

    The application is retrieving info via async HTTP calls and WS.
    In order to display updates (that can sometimes be heavy enough) the bound DataTable is updated (merged) with arrived info in the GUI thread. It cause to long time freezing of the GUI. Updating DataTable in another thread hides updates in the GUI.
    We communicate using XML based protocol over HTTP. Can anyone give a suggestion how i can improve the update rate or minimize the freezing time?

    I update by creating a replica DataSet or DataTable (depending on the XML received) and loading the XML into the Data object. Then I merge the original Data object with the created one. Merging process I do in the GUI thread.

    Thank you.
    Tuesday, August 28, 2007 12:14 PM