mafti wrote:
it's asp.net.
when i only use savemulti(true) i don't see any changes in my datagrid.
2-way databinding doesn't exist (yet) in ASP.NET (comes with .net 2.0 next year if I recall correctly). Today's ASP.NET can only do 1-way databinding. This means that if you bind a collection to a webgrid, it will use that collection to generate the grid, and then send it to the client. However, once that's done, the collection you bound to the grid is destroyed. So you can edit values on teh webpage, but that's totally client-side javascript/html. When you click a link, you get a postback, which sends the values back to the server. It is thus important you keep the objects around for the postback, for example in the session object.
When the postback comes, you have to check which rows were updated in the grid, update the fields of the bound entities (which you retrieve from the session) with these new values and THEN save these objects.