You need to sign in to do that
Don't have an account?
Fabrice76
Is there a (simply) way to get a c# datasource from a queryresult ?
Hi,
I've already done it with some "named" sobjects as account or contact, and i've got each time a sobject list associated to display it.
Now, i'd want to display in a grid the SOQL result to edit any (custom) sobjects list. So, i'd like to write a soql query and display (and edit) it in a SINGLE grid.
I thought to parse the fields from the SOQL text, play the query and create a datatable (or an object list) from the queryresult, but is it the right way ?
How can i do this ?
Has anybody done this job or something similar ?
I've already done it with some "named" sobjects as account or contact, and i've got each time a sobject list associated to display it.
Now, i'd want to display in a grid the SOQL result to edit any (custom) sobjects list. So, i'd like to write a soql query and display (and edit) it in a SINGLE grid.
I thought to parse the fields from the SOQL text, play the query and create a datatable (or an object list) from the queryresult, but is it the right way ?
How can i do this ?
Has anybody done this job or something similar ?
Ramu (Salesforce Developers)
This might help http://www.31a2ba2a-b718-11dc-8314-0800200c9a66.com/2013/12/handing-salesforce-soql-relationship.html