DataList Constructor ()

 

Initializes a new instance of the DataList class.

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

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
Available since 1.1
Return to top
Show: