Click here to Skip to main content
15,890,512 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Json file getting update everyone minute.

I have data in json file that contains 1lacs real time record how should I bind that record with wpf datagrid . And how make datagrid to easy to handle for customer

What I have tried:

I have data in json file that contains 1lacs real time record how should I bind that record with wpf datagrid . And how make datagrid to easy to handle for customer
Posted
Updated 2-Sep-19 13:06pm

Simply: don't.
No one wants to browse a datagrid with a hundred thousand records displayed.
Better use pagination and filtering means so that the number of displayed records remains manageable by a normal human being.
 
Share this answer
 
Quote:
Json file getting update everyone minute.
I have data in json file that contains 1 lacs real time record

And I guess you also expect the datagrid to reflect changes in json file on fly in real time.
Looks like every thing is wrong here.
The only sensible way to handle 1 lac record updated every minute is to use a database.
A datagrid is static, you have to load the data in datagrid, 1 lac record will take a lot of time and result will be difficult to use. To reflect real time update, you will have to reload data every minute.
This is like using a phone directory that you have to read sequentially without jumping to a page.
You have to make the form the same way as a book, you need the possibility to jump to a page number without browsing the book line by line.
a way to ease things is to use a virtual datagrid liked to database, such grid load only records needed for display. Coupled with a way to jump to a position, it can do the trick.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900