Answer the question
In order to leave comments, you need to log in
How to get data from DataGrid?
I get data from the database, fill the sheet with data and display the sheet in the DataGrid
using dataGrid.itemsSource = List
Here
is the DB object itself:
int
Id , string ,decimal , DateTime further column size and so on
DataGridTextColomn Binding {Money} further column size and so on
DataGridTextColomn Binding {Date} further column size and so on
And if I change some cells in the DataGrid then how can I get a sheet from the DataGrid in which something has changed?
Answer the question
In order to leave comments, you need to log in
Make a data binding.
<DataGrid ItemsSource="{Binding CollectionTechWallets}"/>
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question