SqlDataSourceView.OldValuesParameterFormatString Property
Assembly: System.Web (in system.web.dll)
public: property String^ OldValuesParameterFormatString { String^ get (); void set (String^ value); }
/** @property */ public String get_OldValuesParameterFormatString () /** @property */ public void set_OldValuesParameterFormatString (String value)
public function get OldValuesParameterFormatString () : String public function set OldValuesParameterFormatString (value : String)
Property Value
A string that represents a format string applied to the names of any oldValues parameters passed to the Delete or Update methods. The default is "{0}".The OldValuesParameterFormatString format string is applied to primary keys only, such as those that are identified by the DataKeyNames property of the data-bound control or in delete and update scenarios where the ConflictDetection property is set to the CompareAllValues value and a set of oldValues is passed to the corresponding data method. In this case, the format string is applied to each parameter name in the oldValues collection. For more information, see SqlDataSource.OldValuesParameterFormatString.
The value of the OldValuesParameterFormatString property is stored in view state.
Windows 98, Windows 2000 SP4, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.