I'm experimenting with ES (v0.0730.0 trial download) in VB.NET Express 2005 using SQLServer Express. I've been struggling for a day against what I assume is a fairly simple requirement:
A base form has a data-bound grid using a ES collection. The form provides the following:
1) A 'new' button to popup a modal dialog to input new entity details and add an entity to the list displayed in the grid
2) An 'edit' button popup a modal dialog to edit entity details taken from the current row in the grid and display the changes in the grid
I haven't been able to get (1) or (2) working correctly. There are lots of examples for rows added directly in the grid, but nothing I've found to add a new row separately. Is there any 'best-practice' example code? I've seen various posts mentioning DetachEntity and AttachEntity, but really would appreciate a full working example so I can just start using ES and not spend hours reinventing wheels. No, the DemoVB doesn't contain a full example for this functionality...
---
Chris Hutchinson