I have used the SOSL to get the salesforce record.

SOSL search result in c# for salesforce integration?

  • There is a C# sample in this search documentation that is very close to what you are trying to accomplish in terms of accessing the Salesforce data.
    – Keith C
    Commented Aug 6, 2014 at 11:00
  • Yes I have gone through that but I dont know how to load the data grid. Please help.
    – Lemon
    Commented Aug 6, 2014 at 11:09
  • You may get more help on that from another site; e.g. stackoverflow.com/search?q=%5Bc%23%5D+data+grid returns 11k results.
    – Keith C
    Commented Aug 6, 2014 at 11:17

1 Answer 1


Step 1: get the search result. Step 2: get the field names and store to list Step 3: parse the search result again by using the xml and find the fields based on the field name

Refer: www.salesforce.com/us/developer/docs/api/Content/sforce_api_calls_search.htm

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .