Hi,
(Using latest demo trial Dec 6th, 2006)
I've added a LblgenproDatasource to the page at design time. Selected the Datasource of the Gridview to this datasource(and set relevant DataKeyNames on Gridview). Added a seperate Edit/Update column. (Made sure I'm using the latest demo assemblies)
So on editing any row then clicking update, nothing happens.
On the RowUpdating event of the gridview, I have added the following:-
protected void GridView1_RowUpdating(object sender, GridViewUpdateEventArgs e)
{
LLBLGenProDataSource1.EntityCollection.SaveMulti();
}
So am I right in assuming that I need to call the SaveMulti method on firing of this gridview event. I'm guessing my issue is to do with State management, as the values of the editing roles seemed to be ignored.
I'm sure I'm missing something glaringly obvious. But I'm looking to do as minimal coding as possible and using the design time features to perform databinding.
Do I have to programatically bind the data at the Page_load event, then declare a new Entity object at the Row_Updating event and perform some iterations?
I simply want to be able to demo a simple gridview with updating functionality, but again using the design time controls and performing as little coding as possible.
Any help would be greatly appreciated!
Cheers