LLBLGen Datasource and ASP.Net Formview

Posts   
 
    
eirizarry
User
Posts: 48
Joined: 30-Mar-2011
# Posted on: 03-May-2011 02:24:16   

I create a LLBLGen Datasource to one of my tables and assign it to a FormView on my ASP.Net page. The Edit/Save button is created automatically.

When i press the Edit button it brings the textboxes to change the data. I change it and press the save button, it look like the changes where saved but if i look to the database the original data is still there and if i refresh the page the original data comes back.

I need to do something special to get it work?

thanks,

Elvin

daelmo avatar
daelmo
Support Team
Posts: 8245
Joined: 28-Nov-2005
# Posted on: 03-May-2011 07:43:17   

Hi Elvin,

Please post more info (http://www.llblgen.com/TinyForum/Messages.aspx?ThreadID=7722).

Added to that info, in this particular case, please post your declarative aspx for the grid and the LLBLGenDataSource and any relevant code behind, for instance if you are using LivePersistence=false, you should implement some event handlers.

Also, this often fails because people don't specify the DataKeyNames property on grid.

David Elizondo | LLBLGen Support Team