I have DataGrid
in my wpf mvvm application. i am binding a da开发者_如何学编程ta table as the data source from my view model. please tel me a way to bind DataGrid
column header text with the underlying tada table column "Caption". (not the default column name). I create Datagrid
columns automatically (AuotGeneratedColumns = true
)
Similar solution here ...http://stackoverflow.com/questions/6928393/all-datagrid-headers-must-have-unique-names-how-to-work-around-it/6929089#comment-8293037
Let me know if this guides you in some direction?
精彩评论