I've a small SQL Server Compact 4.0 DB, see attached file. I now need a Telerik WPF RadGridView where it displays the rows of it and where I can perform basic CRUD operations.
What you have to do:
1. I want a DropDownList below the RadGridView which shows all tables the DB contains. The tables/tablenames must be retrieved from the db.
2. When I select a table from the DropDownList, it shows the rows from the table in the RadGridView
3. There must be 3 buttons below the RadGridView: "Refresh" (updates the grid if DB has changed), "Delete" (deletes the selected row(s)) and "Save Changes" (saves the changes of all rows I've made).
4. It must be possible to add & save new rows to a table
Use:
- VS2010 SP1 / WPF / .Net 4.0 / C#
- This Telerik WPF data control: [login to view URL]
- This Telerik WPF grid control: [login to view URL]
- Free & full working Telerik WPF controls trial: [login to view URL]
Note:
- Design of the GUI/Grid etc. is not important (I'm interested in the code)
- No documentation / comments etc. required (the only requirement: it must work as specified above)