How to add a DataGridColumn in code behind [SOLVED]
Posted: Thu Sep 17, 2015 1:08 pm
Hello,
how can I add a DataGridTextColumn in code behind ???
This does not work ...
Regards, Uwe
how can I add a DataGridTextColumn in code behind ???
This does not work ...
Code: Select all
currentGrid.Columns.Add(new DataGridTextColumn() { Header = "Name", Binding = new Binding("Name") });
Regards, Uwe