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
Roberto Salemi
NA
146
142.1k
[WPF] DataGrid: add a new line, what is the best solution?
Feb 26 2015 6:58 AM
Hello everyone,
in my WPF application, the user can add a new line, so I added in the definition of the DataGrid:
CanUserAddRows = "True"
In the current structure of the DataGrid are 6 columns:
1) the first two are not editable (so do not expect a <DataGridTemplateColumn.CellEditingTemplate> in XAML
2) the others are editable via Combobox (prevendono a <DataGridTemplateColumn.CellEditingTemplate> in XAML with relative ComboBox)
In the case in which the user must add a new row, should select the values of the various columns via Combobox populated by DB.
According to you, what would be the best solution for this purpose?
Thank You.
Reply
Answers (
0
)
[WPF] How get the text in TextBlock
[WPF] ComboBox: error multiConverter and Selected Item