System.Web.UI.WebControls Namespace DataList Class
Initializes a new instance of the DataList class.
[ VB ]
Public Sub New ( )
[ C# ]
public DataList ( );
[ C++ ]
public: DataList ( );
[ JScript ]
public function DataList ( );
Use this constructor to initialize a new instance of the DataList class.
The following example demonstrates how to initialize a new instance of the DataList class.
void Page_Load ( Object src, EventArgs e ) {
DataList myDataList = new DataList ( );
}
Sub Page_Load ( src As Object, e As EventArgs )
Dim myDataList As New DataList ( )
End Sub |
|
C# |
VB |
DataList Members