The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.
DataControlField::SortExpression Property
.NET Framework (current version)
Gets or sets a sort expression that is used by a data source control to sort data.
Assembly: System.Web (in System.Web.dll)
public: [TypeConverterAttribute("System.Web.UI.Design.DataSourceViewSchemaConverter, System.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")] property String^ SortExpression { virtual String^ get(); virtual void set(String^ value); }
Property Value
Type: System::String^A sort expression that is used by a data source control to sort data. The default value is an empty string ("").
The OnFieldChanged method is called to raise a state change event when the SortExpression property is set.
The value of the SortExpression property is stored in view state.
.NET Framework
Available since 2.0
Available since 2.0
Show: