SPGridView.GroupField property

Gets or sets the name of the field to group by.

Namespace:  Microsoft.SharePoint.WebControls
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
Public Property GroupField As String
    Get
    Set
'Usage
Dim instance As SPGridView
Dim value As String

value = instance.GroupField

instance.GroupField = value
public string GroupField { get; set; }

Property value

Type: System.String

See also

Reference

SPGridView class

SPGridView members

Microsoft.SharePoint.WebControls namespace