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
Manish Kumar
NA
50
959
How to save Datagrid in wpf
Oct 27 2014 3:10 AM
I have a datagrid in my wpf application. I have added one combobox on that datagrid. Now I want to insert the values of datagrid in SQL Table, but I a not able to do that because the values of the combobox is taking null value. I have written following code to bind combobox in data grid.
DataGridComboBoxColumn c1 = new DataGridComboBoxColumn();
c1.Header = "ProposalStatus";
var arr3 = new string[] { "ACCEPT", "REJECT", "HOLD" };
c1.ItemsSource = arr3;
DataGrid1.Columns.Add(c1);
Reply
Answers (
0
)
Custom Control, Disabled Path color error
Operations on XML data