SPGridView.FilteredDataSourcePropertyName property

Gets or sets the name of the property to set on the data source to filter.

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

Syntax

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

value = instance.FilteredDataSourcePropertyName

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

Property value

Type: System.String

Examples

oGrid.FilterDataPropertyName = "FilterExpression";

See also

Reference

SPGridView class

SPGridView members

Microsoft.SharePoint.WebControls namespace