Share via


DataFormWebPart.ShouldProvideRows Method

Indicates whether the DataFormWebPart should provide rows.

Namespace:  Microsoft.SharePoint.WebPartPages
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

Syntax

'Declaration
Public Overridable Function ShouldProvideRows As Boolean
'Usage
Dim instance As DataFormWebPart
Dim returnValue As Boolean

returnValue = instance.ShouldProvideRows()
public virtual bool ShouldProvideRows()

Return Value

Type: System.Boolean
true if the DataFormWebPart should provide rows, otherwise, false.

Remarks

This virtual method always returns true.

This virtual method can be implemented in a subclass to return a value that indicates whether the DataFormWebPart should provide rows.

See Also

Reference

DataFormWebPart Class

DataFormWebPart Members

Microsoft.SharePoint.WebPartPages Namespace