I am missing something really really obvious. The code below wires a gridview to a llblgends. Everything seems to work fine until I try to update values. Nothing changes and no errors are thrown. As far as I know with livepersistence its supposed the example should work. Bet I am missing something really pedestrian and obvious. I just cant tell what the heck it is. Do I have to manually wire up the controls that do the updating? If so, I could use an example. I traced the execution. Here is what it showed.
Method Enter: DataAccessAdapterBase.SaveEntity(4)
Method Enter: DataAccessAdapterBase.DetermineActionQueues(7)
Method Exit: DataAccessAdapterBase.DetermineActionQueues(7)
Method Exit: DataAccessAdapterBase.SaveEntity(4): no entities to save.
Thanks in advance for suggestions.
<llblgenpro:LLBLGenProDataSource2 ID="LLBLGenProDataSource1" runat="server"
AdapterTypeName="Caremore.DatabaseSpecific.DataAccessAdapter, CaremoreDBSpecific"
DataContainerType="EntityCollection"
EntityFactoryTypeName="Caremore.FactoryClasses.DivisionDepartmentEntityFactory, Caremore"
LivePersistence="true" EnablePaging="True" >
</llblgenpro:LLBLGenProDataSource2>
<asp:GridView ID="GridView1" runat="server" AllowPaging="True"
AutoGenerateColumns="False" CellPadding="4"
DataSourceID="LLBLGenProDataSource1" ForeColor="#333333" GridLines="None" DataKeyNames="DivisionDepartmentId">
<RowStyle BackColor="#EFF3FB" />
<Columns>
<asp:CommandField ShowEditButton="True" />
<asp:BoundField DataField="DeptCode" HeaderText="Dept Code" />
<asp:BoundField DataField="DeptName" HeaderText="Dept. Name" />
<asp:BoundField DataField="GLNumber" HeaderText="GL Number" />
</Columns>
<FooterStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
<PagerStyle BackColor="#2461BF" ForeColor="White" HorizontalAlign="Center" />
<SelectedRowStyle BackColor="#D1DDF1" Font-Bold="True" ForeColor="#333333" />
<HeaderStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
<EditRowStyle BackColor="#2461BF" />
<AlternatingRowStyle BackColor="White" />
</asp:GridView>