ddlCountry.DataValueField= "CountryId" ddlCountry.DataTextFiled= "CountryName"; ddlCountry.DataSource= objCountry.Select(); ddlCountry.DataBind();
ddlCountry.SelectedItem.Text = gvCountry.SelectRow.Cells[1].text; OR ddlCountry.SelectedItem.Value = gvCountry.SelectRow.Cells[1].text;
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)