SqlDataSourceView::OldValuesParameterFormatString Property
Assembly: System.Web (in System.Web.dll)
public: property String^ OldValuesParameterFormatString { String^ get (); void set (String^ value); }
Property Value
Type: System::StringA 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 7, Windows Vista, Windows XP SP2, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP Starter Edition, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003, Windows Server 2000 SP4, Windows Millennium Edition, Windows 98
The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.