Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
DataList Constructor
Collapse the table of content
Expand the table of content

DataList Constructor

Initializes a new instance of the DataList class.

Namespace:  System.Web.UI.WebControls
Assembly:  System.Web (in System.Web.dll)

'Declaration
Public Sub New

Use this constructor to create and initialize a new instance of the DataList class.

The following code example demonstrates how to create and initialize a new instance of the DataList class.

Sub Page_Load(sender As Object, e As EventArgs)
    Dim MyList As New DataList()
End Sub 'Page_Load

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0, 1.1
Show:
© 2015 Microsoft