DataViewWebPart.ListName property

Gets or sets the list name.

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

Syntax

'Declaration
<WebPartStorageAttribute(Storage.Shared)> _
<BrowsableAttribute(False)> _
Public Property ListName As String
    Get
    Set
'Usage
Dim instance As DataViewWebPart
Dim value As String

value = instance.ListName

instance.ListName = value
[WebPartStorageAttribute(Storage.Shared)]
[BrowsableAttribute(false)]
public string ListName { get; set; }

Property value

Type: System.String
A string that contains the name of the SharePoint list that is displayed by this Web Part.

See also

Reference

DataViewWebPart class

DataViewWebPart members

Microsoft.SharePoint.WebPartPages namespace