Data binding using an array list containing a class

DataTextField and DataValueField must contain property names of the class bound to the DropDownList.