LinqDataSource.OrderGroupsByParameters Property
Definition
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 the collection of parameters that are used to create the Order Groups By clause.
public:
property System::Web::UI::WebControls::ParameterCollection ^ OrderGroupsByParameters { System::Web::UI::WebControls::ParameterCollection ^ get(); };
[System.ComponentModel.Browsable(false)]
[System.Web.UI.PersistenceMode(System.Web.UI.PersistenceMode.InnerProperty)]
public System.Web.UI.WebControls.ParameterCollection OrderGroupsByParameters { get; }
[<System.ComponentModel.Browsable(false)>]
[<System.Web.UI.PersistenceMode(System.Web.UI.PersistenceMode.InnerProperty)>]
member this.OrderGroupsByParameters : System.Web.UI.WebControls.ParameterCollection
Public ReadOnly Property OrderGroupsByParameters As ParameterCollection
Property Value
The parameters that are used to create the Order Groups By clause.
- Attributes
Remarks
The LinqDataSource control uses parameters in the OrderGroupsByParameters collection to create the Order Groups By clause at run time.
You add values to the OrderGroupsByParameters collection only when you must set values at run time in the Order Groups By clause. You can define the fields that are used to order the data by using the OrderGroupsBy property.
You can set parameters in the OrderGroupsByParameters collection and match the parameters to placeholders in the OrderGroupsBy property. However, when you use this approach, the parameters in the OrderGroupsByParameters collection cannot represent a column name; they must represent values. You can set a parameter to a value and then compare that value to a property. For example, you can order the data based on whether the values in a property are less than the run-time value represented by the parameter.
Applies to
.NET
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기