Add dropdownlist with datatextfield and datavaluefield property in aspx page
<asp:DropDownList runat="server" ID="ddlCity" DataTextField="CityName" DataValueField="CityID"></asp:DropDownList>
Bind dropdownlist in page load inside !IsPostBack
if (!IsPostBack)
{
ddlCity.DataSource = GetCities();
ddlCity.DataBind();
}
access ID and name field using below code
string cityName = ddlCity.SelectedItem.Text;
int cityID = Convert.ToInt32( ddlCity.SelectedItem.Value);