SPGridView.FilteredDataSourcePropertyFormat Property
Gets or sets the format of the data source
Namespace: Microsoft.SharePoint.WebControls
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No
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}'";