There is a table in SQLite type:
row column value
1 ------------- 1 ------------ 2
2 ------------- 1 ------------ 5
etc.
Thus, it turns out that row 1 and column 1 of the DataGrid should contain the value 2, row 2, column 1 the value 5.
How can this be implemented (example below) or direct where to read?
I know that the DataGrid has an ItemSource property in Columns and Rows.
In this case, all other cells for which the value is not equal to 1 should be set to zero.
How can I fill in DataGrid 1 to 1 from SQLite, I figured it out, but I can not understand how to use known rows and columns.
