As using JSON and populate the ObservableCollection to DataGrid in WPF application?

0 like 0 dislike
250 views
Now have a php script that generates JSON from the database. Further, this all must be passed to desktop application written in C#. To display you plan to use a DataGrid and fill it using the ObservableCollection. The question how to do it? Do this for the file itself, or rather of the treatment to the script via GET? Also interested in how to convert a JSON to a DataGrid.
Also interested in the justification of such a decision, planning to create a website to display information and C# app to edit, add, delete.
by | 250 views

1 Answer

0 like 0 dislike
1. "Do this for the file itself, or rather of the treatment to the script via GET?" - what prevents to take JSON response from the server and make it under model(b/s) and no longer work with JSON'ohms, and the usual classes?
2. How to convert a JSON to a DataGrid - any way (see paragraph 1).
About "How to fill" - MVVM
by

Related questions

0 like 0 dislike
5 answers
0 like 0 dislike
3 answers
0 like 0 dislike
2 answers
0 like 0 dislike
2 answers
110,608 questions
257,187 answers
0 comments
40,796 users