bind data to gridview in GridView1_RowCreated event using user defined function then use
DropDownList ddlParent = (DropDownList)GridView1.Rows[e.NewIndex].FindControl("ddlParentService");
It will automatically assign dropdownlist ddlparentservice to ddlparent object then assign datasource to ddlparent object.