void LoadCountry() { ddlCountry.Items.Clear(); objService = new ServeAtDoorstepService(); DataTable dt1 = objService.SelectAllCountry(); ListItem listItem = new ListItem(); listItem.Text = "<Select Country>"; listItem.Value = "0"; ddlCountry.Items.Add(listItem); for (int i = 0; i < dt1.Rows.Count; i++) { listItem = new ListItem(); listItem.Text = dt1.Rows[i]["CountryName"].ToString(); listItem.Value = dt1.Rows[i]["CountryId"].ToString(); ddlCountry.Items.Add(listItem); } ddlCountry.SelectedIndex = 244; ddlCountry.Disabled = true; }