Quantcast
Channel: Microsoft Dynamics CRM
Viewing all articles
Browse latest Browse all 123975

Forum Post: RE: Dropdownlist in Asp.net c# crm 2011

$
0
0

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.


Viewing all articles
Browse latest Browse all 123975

Trending Articles