asp.net.ph

GridViewSortEventArgs Constructor

System.Web.UI.WebControls Namespace   GridViewSortEventArgs Class


.NET Framework version 2.0

Initializes a new instance of the GridViewSortEventArgs class.

[ VB ]
Public Sub New ( _
   ByVal sortExpression As String, _
   ByVal sortDirection As SortDirection _
)

[ C# ]
public GridViewSortEventArgs (
   string sortExpression,
   SortDirection sortDirection
);

[ C++ ]
public: GridViewSortEventArgs (
   String^ sortExpression, 
   SortDirection sortDirection
);

[ JScript ]
public function GridViewSortEventArgs (
   sortExpression : String, 
   sortDirection : SortDirection
);

Parameters

sortExpression
The sort expression used to sort the rows in the control.
sortDirection
A SortDirection value that indicates the direction in which to sort the rows in the control.

Remarks

Use this constructor to initialize a new instance of the GridViewSortEventArgs class.

The following table shows initial property values for an instance of GridViewSortEventArgs.

Property Initial Value
SortExpression The value of the sortExpression parameter.
SortDirection The value of the sortDirection parameter.

NOTE: This constructor is used primarily by control developers when raising events.

See Also

GridViewSortEventArgs Members   AllowSorting 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