ContentByQueryWebPart.Data Property
Data to use for the XSL transform.
Namespace: Microsoft.SharePoint.Publishing.WebControls
Assembly: Microsoft.SharePoint.Publishing (in Microsoft.SharePoint.Publishing.dll)
Syntax
'Declaration
<BrowsableAttribute(False)> _
<WebPartStorageAttribute(Storage.None)> _
Public Property Data As DataTable
Get
Set
'Usage
Dim instance As ContentByQueryWebPart
Dim value As DataTable
value = instance.Data
instance.Data = value
[BrowsableAttribute(false)]
[WebPartStorageAttribute(Storage.None)]
public DataTable Data { get; set; }
Property Value
Type: System.Data.DataTable
Data to use for the XSL transform.
Remarks
Setting this property to Null causes the Web Part to retrieve the data.
Setting this property to a data table causes the Web Part to use the data provided.