TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
abdujalil chuliev
NA
400
41.3k
How can set datagrid column header name from a database row
Aug 23 2017 9:26 AM
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>
Reply
Answers (
2
)
ItemPanel Vs ItemPanelTemplate?
Programitcally add a span to Textblock