SqlDataSourceView.SortParameterName Property
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets the name of a stored procedure parameter that is used to sort retrieved data when data retrieval is performed using a stored procedure.
public:
property System::String ^ SortParameterName { System::String ^ get(); void set(System::String ^ value); };
public string SortParameterName { get; set; }
member this.SortParameterName : string with get, set
Public Property SortParameterName As String
The name of a stored procedure parameter used to sort retrieved data when data retrieval is performed using a stored procedure.
The SortParameterName property is evaluated only when the SQL command that is contained by the SelectCommand property is the name of a stored procedure. In this case, if the SortParameterName property is set, it contains the name of a parameter that is used to sort the results of the stored procedure.
If the ParameterPrefix property is set, it is prepended to the SortParameterName property.
The value of the SortParameterName property is stored in view state.
Product | Versions |
---|---|
.NET Framework | 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
.NET feedback
.NET is an open source project. Select a link to provide feedback: