tags:

views:

23

answers:

1

i found a problem adding a new row automatically in datagrid in WPF once i fill the data in the row and find same problem deleting the row automatically once i delete all its data ... could any one help me plz ?

A: 

What is your problem exactly?

If your datagrid is bound to a collection of items and is not updating when you add/remove items, try using an ObservableCollection to store your items (rather than a List for example).

AndrewS