I have two tables :-
1- UnitOfMeasurment ( Id, Units)
2- Items (Name,Units,Price)
DataGrid have 3 Columns textcolumn , comboboxcolumn , and textcolumn
i want to display data from Items to DataGrid and also add,edit,delete items form DataGrid to Items
and in DataGridComboBox items Fecth From UnitOfMeasurment
i try this-
------------XAML CODE---------
----------------------------.CS CODE--------------------------
please help me this code work well in winform application but in wpf create problem.
Attachment: WPF.zip