Tech
Forums
Jobs
Books
Events
Interviews
Live
More
Learn
Training
Career
Members
Videos
News
Blogs
Login
Sign Up
Ask Question
2
Reply
How can set datagrid column header name from a database row
abdujalil chuliev
Aug 23 2017 9:26 AM
171
Reply
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?
<DataGrid x:Name=
"dataGrid"
HorizontalAlignment=
"Left"
Margin=
"48,96,0,0"
VerticalAlignment=
"Top"
Width=
"1050"
>
</DataGrid>
Upload Source Code
Select only zip and rar file.
Post
Reset
Cancel
Answers (
2
)
Next Recommended Forum
ItemPanel Vs ItemPanelTemplate?
Programitcally add a span to Textblock