Export (0) Print
Expand All

DataFormWebPart.DataSourcesString property

Gets the markup string that is stored in the Web Part table for the inside zone of the DataFormWebPart object.

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

[RequiresDesignerPermissionAttribute]
[PersonalizableAttribute(PersonalizationScope.Shared, true)]
[WebBrowsableAttribute(false)]
public string DataSourcesString { get; set; }

Property value

Type: System.String

The difference between DataSources and DataSourcesString is that DataSourcesString is the markup string that is stored in the Web Part table for the inside zone of the DataFormWebPart object, and DataSources stores the real collection of data source instances. Otherwise the two properties mirror each other.

Community Additions

Show:
© 2014 Microsoft