Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.
Applies to Silverlight 3, 4 and 5
The DataGrid is an outstanding control to use while working with large amounts of data at the same time. Through its Excel-like interface, not only can we easily view the data, but also add new records or update and delete existing ones.
In this recipe, we'll take a look at how to build a DataGrid that supports all of these actions on a collection of items.
This recipe builds on the code that was created in the previous recipe. To follow along with this recipe, you can keep using your code or use the starter solution located in the Chapter04/Datagrid_Editing_Data_Starter folder in the code bundle available on the Packt website. The complete solution for this recipe can be found in the Chapter04/Datagrid_Editing_Data_Completed folder.