"dataGrid" HorizontalAlignment="Left" Margin="48,96,0,0" VerticalAlignment="Top" Width="1050">
How can set datagrid column header name from a database row
I'm a beginner WPF programmer. There are only two columns(typeid, typename) in my 'type' table. There are 8 rows in the typename. I want those row cell data to be the column header name. How can I set datagrid column header name from a database row cell data?
2 Answers
Know the answer? Post it. Somebody with the same question will find it here.

Amit GuptaRank #190 · 12.8K reputationPosted Aug 23, 2017, 6:49 AM EDT
abdujalil chulievRank #4,912 · 319 reputationPosted Aug 23, 2017, 7:58 PM EDT