SampleData Property
Important This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here. ArchiveDisclaimer

DataFormWebPart.SampleData Property

Windows SharePoint Services 3

Stores sample XML data used to render the control when live data cannot or should not be used.

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

[PersonalizableAttribute(PersonalizationScope.Shared, true)]
[WebBrowsableAttribute(true)]
[ResourcesAttribute("DataViewWebPartSampleDataLiteral", "Miscellaneous", 
	"DataViewWebPartSampleDataDescription")]
[PersistenceModeAttribute(PersistenceMode.InnerProperty)]
public string SampleData { get; set; }

Property Value

Type: System.String
Show:
© 2016 Microsoft