LinqDataSourceSelectEventArgs::Arguments Property
Gets values that determine how the data is returned.
Assembly: System.Web.Extensions (in System.Web.Extensions.dll)
public: property DataSourceSelectArguments^ Arguments { DataSourceSelectArguments^ get (); }
Property Value
Type: System.Web.UI::DataSourceSelectArgumentsAn object that contains values for determining how the data is returned.
A data-bound control passes properties to the LinqDataSource control through the Arguments property in order to specify how paging and sorting should occur. If the AutoPage property or the AutoSort property is set to true, the LinqDataSource control automatically sorts or pages based on the properties from the data-bound control.
You can customize how the data is sorted and paged from a query by setting the AutoPage and AutoSort properties to false and then creating a handler for the Selecting event. In the event handler, use the Arguments property to retrieve the sorting and paging properties from the data-bound control. Then customize the query as needed, based on the properties from the Arguments property. If the RetrieveTotalRowCount property of the DataSourceSelectArguments object is set to true, you must return a value for the TotalRowCount property.
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.