Share via


SPGridView.FilteredDataSourcePropertyFormat property

Gets or sets the format of the data source

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

Syntax

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

value = instance.FilteredDataSourcePropertyFormat

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

Property value

Type: System.String

Remarks

The value of the filter field is inserted at insertion point {0}. The name of the filter field is inserted at insertion point {1}. The default value of this string is "{0}".

Examples

oGrid.FilterDataPropertyFormat = "{1} LIKE '{0}'";

See also

Reference

SPGridView class

SPGridView members

Microsoft.SharePoint.WebControls namespace