Formview onupdating


One piece of additional information: certain bind fields in the formview's edit template are optionally set to invisible during the course of editing.I am not sure if invisible bind fields will lead to "ODS's do not match ODS Update Method's parameter"?For this, I use the Item Updated event of the formview and try ...What's wrong with Data Bind() in Grid View control?



User contains various properties which i have been able to bind to successfully using wizards and the form view.When I finally resort to set the Update Method's parameter manually, everything works!This is a strong evidence of such a possible exception.NET is smart enough to do it for me automatically !! Supplement information: Upon clicking Edit Item Template's update link button: Item Command event is triggered, then return and goes no further. This is my foresaid work around solution: programmatically fill in datasource's parameters, when apparently ASP. However, I am still appreciate if anyone can explain this problem.

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.

Problem found: There was a Validator in the Form View, this Validator (along with its associated input Text Box) was ocassionaly set to Invisible.