Why isn't Form View's Item Updating event fired, when obviously link button's command name = "Update"? protected void Form View1_Item Command(object sender, Form View Command Event Args e) protected void Object Data Source1_Updating(object sender, Object Data Source Method Event Args e) protected void Object Data Source1_Inserting(object sender, Object Data Source Method Event Args e) private void set ODSParameter(Object Data Source Method Event Args e) Thanks for your suggestion, but I don't think it is a common practice to invoke ODS' update event manually.
When I finally resort to set the Update Method's parameter manually, everything works!(2) Check that sequence, parameter names and number of Bind("xxx") in Edit Item Template is identical to Object Data Source's parameter collection (3a) Create a new Test.aspx, using Access Data Source, update command works.(3b) Then I copy and paste the exact coding from the problem aspx to ....this modified works, to my amazement !!! This aspx works......until not knowing when.....update command problem happen again.For example, assuming we had created a LINQ to SQL data model for the Northwind database (which I covered how to-do in Part 2 of this series), we could declare a control at the datasource and enable paging, editing, and sorting on it: When we run the above page we'll then have a Grid View with automatic sorting, paging, and editing support against our Product data model: Using declarative parameters like above works well for many common scenarios.But what happens if you want the Product filtering to be richer or more complex?