Gets or sets a value that determines how the System.Web.UI.WebControls.ObjectDataSource control performs updates and deletes when data in a row in the underlying data storage changes during the time of the operation.
Documentation for this section has not yet been entered.
The ObjectDataSourceView.ConflictDetection property determines whether parameters for old and new values are applied to the Update method. For example, if the method that is specified by the ObjectDataSourceView.SelectMethod property returns a System.Data.DataTable object with the columns Name and Number, and the ObjectDataSourceView.ConflictDetection property is set to the System.Web.UI.ConflictOptions.OverwriteChanges value, parameters are created for Name and Number for the Update method. If the ObjectDataSourceView.ConflictDetection property is set to the System.Web.UI.ConflictOptions.CompareAllValues value, parameters are created with the names Name, Number, original_Name, and original_Name. (The exact name of the parameters for the original values depends on the ObjectDataSourceView.OldValuesParameterFormatString.) The System.Web.UI.WebControls.ObjectDataSourceView then determines if the method that is specified in the ObjectDataSourceView.UpdateMethod property has parameters that match.
Concurrency control is a technique data stores use to control how data is read and changed in the store when multiple clients are accessing and manipulating the same data. For example, one client reads data and presents it to a user, while another client reads the same data, and presents it to a different user. If both users update the data and submit it to the data storage, some unexpected result might occur, because both clients might update different values for the same data. This is considered a conflict. By setting the ObjectDataSourceView.ConflictDetection property to the System.Web.UI.ConflictOptions.CompareAllValues value, the Update method can then compare the old and new values to the original data source to detect conflicts and handle them, as necessary.
The value of the ObjectDataSourceView.ConflictDetection property is stored in view state.