Go to your RowDataBound Event of GridView, Find the DropDownList which is in EditItemTemplate and bind the data and set the selected value there.
Try this:
protected void GridView1_RowDataBound(object sender, GridViewRowEventArgs e)
{
if (e.Row.RowType == DataControlRowType.DataRow)
{
DropDownList ddlCountry = e.Row.FindControl("ddlCountry") as DropDownList;
if (ddlCountry != null){
}
}
}
OR
See and example here for
Binding DropDownList in GridView RowEditing Command[
^].
--Amit