none
how to check two option set value in ms crm 2011 using c# ?

    Question

  • hi,

    i have a two optionset type field.

    new_xyz : label is true(value is 1) and label is false(value is 0)

    now im trying to execute a plugin if "new_xyz" field value is "true".

    if i write like this im  getting error.

    if (entityRefObj["new_xyz"]=="true")

    {

    //plugin logic goes here.

    }

    how to check the value of two option set type field in C# ?

    Saturday, July 14, 2012 5:10 AM

All replies