How to Bind a DataGrid to a DataTable all in code behind?

后端 未结 2 1564
醉梦人生
醉梦人生 2021-01-15 13:33

How to bind a DataGrid to a DataTable in C# code behind? (All controls are generated in run-time, so no XAML please)

I tried Binding(), set the DataContext, set the

2条回答
提交回复
热议问题