function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
.net community.net community 

how can i select multiple values in a multiselect picklist from .net

hi,
 
I am using salesforce API to create accounts. I have a multiselect picklist to be selected with multiple items from .net code. In the API multiselect picklist is shown as a string type. Any help will be greatly apreciated.
 
 
Thanks,
Sandeep.
Appshark software pvt ltd.
 
Best Answer chosen by Admin (Salesforce Developers) 
SuperfellSuperfell
acc.foo__c = "one;two;four;fortytwo";

All Answers

SuperfellSuperfell
acc.foo__c = "one;two;four;fortytwo";
This was selected as the best answer
AcMEGXAcMEGX
Thanks simon! You helped me out on my problem too.