private void GetCenters() { int thanaId = Convert.ToInt32(thanaDropDownList.SelectedValue); centerDropDownList.DataSource = aCenterManager.GetSelectedCenters(thanaId); centerDropDownList.DataTextField = "Name"; centerDropDownList.DataValueField = "Id"; centerDropDownList.DataBind(); }