asp.net.ph

SqlDataSource.SortParameterName Property

System.Web.UI.WebControls Namespace   SqlDataSource Class


.NET Framework version 2.0

Sets or retrieves the name of a stored procedure parameter that is used to sort retrieved data when data retrieval is performed using a stored procedure.

Syntax


Inline <asp:SqlDataSource sortparametername = strName ... >
Script SqlDataSource.SortParameterName [ = strName ]

Property Value


strName The name of a stored procedure parameter used to sort retrieved data when data retrieval is performed using a stored procedure.

The property is read/write with no default value.

Remarks

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.

Skip Navigation Links



Home
Suggested Reading


Previous page Back to top Next page

© 2000-2010 Rey Nuñez All rights reserved.

If you have any question, comment or suggestion
about this site, please send us a note

You can help support asp.net.ph