Hello,
To set the selected item I used this code :
EntityReference productlookup = (EntityReference)result1.Entities[0].Attributes["new_ProductList"];
new_productid.SelectedValue = productlookup.Id.ToString();
This worked for me.
But how can I write this value to to CRM ?
new_productid.SelectedValue.ToString() doesn't work.
Many thanks.