Hi,
Just wondering if there's a best practice for using a XamDataGrid to retrieve data from a database and then easily update back tot he database table inserts, deletes and changes made by the user? I currently have something partially working using a SQLDataAdapter and DataTable but it doesn't seem very tidy so I'm thinking there must be a better way.
Any samples would be appreciated as well.
Troy
Hello Troy,
The XamDataGrid is bound to the data through the DataSource property (IEnumerable). Any changes made to the XamDataGrid's records will be automatically reflected in the local copy of the data source that you have provided. How you would update the back-end data base or commit any changes are really up to the specific scenario.