Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
5250
large data UltraWinGrid
posted

Hi all

I have some trouble with loading large amount of data
into a UltraWinGrid.
I need to load about 100'000 rows into a grid and the
wait time for the user should be as smallest possible ... :-)

When I execute the query in the SQL Management Studio,
the result grid startes almost immediately with loading.

In the WinGrid I already use OnDemand loading but it takes
some seconds to show the rows. I also know why: because
I use a DataSet to fill the Grid and the DataSet has to be loaded first.

The question now is:
How can I load large amount of data from SQL Server into your WinGrid ?
The grid should start showing rows immediately (something like asynchron) ...

Hope you understand what I mean ...

Thanks for a quick feedback and
best regards
Frank Uray

P.S. I would pay for a really good solution

Parents
No Data
Reply
  • 469350
    Suggested Answer
    Offline posted

    Hi Frank,

    Which part of this is slow? Is it the loading of 100,000 rows into a DataTable? Or the binding of that DataTable to the grid?

    If it's the DataTable, then I'm not sure there's very much you can do there. There are probably some third-party data source objects that are faster and more efficient than a DataTable. But I don't have any experience with specific ones.

    If it's the grid, then you will want to check out the Virtual Mode sample in either the WinGrid samples explorer or the UltraDataSource samples. Setting the LoadStyle of the grid to LoadOnDemand will not do very much unless you also have a data source that can support loading data on-demand.

     

Children