For Edit page the approach will be almost the same. Instead only Change of the DropDown you will need to add similar code (orderdetail.Product = getProductsResult.FirstOrDefault(p => p.ProductID == ${orderdetail.ProductID})
) to Page Load after you get the lookup collection: