Satish Nissankala
Satish Nissankala

Reputation: 141

WPF DataGrid Loading Large amounts of data

I have a WPF DataGrid that will be populated from a data table having more than 250K rows. I am using Entity Framework to connect to the DataBase. Its taking around 30-45 seconds to load the DataGrid. Is there any way to do it faster?

Upvotes: 1

Views: 2508

Answers (1)

TomTom
TomTom

Reputation: 62093

Yes. DO NOT LOAD 250.000 rows.

Or: realize it ha little to do with the WPF grid but with the fact that laoding 250.000 rows though the network takes time.

Or: realize it is bad programming practice to load more rows than the user will likely utilize.

Upvotes: 1

Related Questions