Asp net formview onitemupdating


21-Apr-2020 00:01

If you place Form View control to web form you'll see that it not appears very user friendly at first look.

There is only gray rectangle, like in image bellow: Unlike Details View control, there is no predefined template in Form View control.

Set Form View's Data Source ID property to the name of your data source control.

This works as expected when other controls are Auto Post Back for example but when the Form View btn Update is clicked the page is postback and the ph Response Text Place Holderer is displayed as in the declarative state but completely ignores the programmatic property settings in Page_Load.The offering is not appropriate for situations that require urgent, real-time or phone-based interactions or complex project analysis and dump analysis issues.Issues of this nature are best handled working with a dedicated Microsoft Support Engineer by contacting Microsoft Customer Support Services (CSS) at This example shows typical situation where form includes Category field related to other table: ="SELECT Products.

In the Page_Load event I run a routine which makes ph Response Text.

If you also want to modify records, delete or add new items you need Update Command, Delete Command and Insert Command as well.