I want to know how should we add columns and rows programmatically to a DataGrid in WPF. The way we used to do it in windows forms. create table columns and rows, and bind it to DataGrid.
I have No. of rows and columns which I need to draw in DataGrid so that user can edit the data in the cells.