LinqDataSourceSelectEventArgs.GroupByParameters Property


Gets the collection of parameters that is used to create the GroupBy clause.

Namespace:   System.Web.UI.WebControls
Assembly:  System.Web.Extensions (in System.Web.Extensions.dll)

public IDictionary<string, object> GroupByParameters { get; }

Property Value

Type: System.Collections.Generic.IDictionary<String, Object>

An object that contains the parameters for the GroupBy clause.

You use the GroupByParameters property to access parameters for the GroupBy clause in a handler for the Selecting event. You can modify the GroupBy clause by adding or removing parameters from this collection. By default, the GroupByParameters property of the LinqDataSourceSelectEventArgs object contains any parameters that you added to the GroupByParameters property of the LinqDataSource control.

.NET Framework
Available since 3.5
Return to top