Run the application now. The city names are displayed as expected. But make sure to set the properties(DataTextField, DataValueField) before calling DataBind() method. Also, note that, these properties can be set in the HTML of the aspx page as well.<asp:DropDownListID="DropDownList1"DataTextField="CityName"DataValueField="CityId"runat="server"></asp:DropDownList>