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
sunny900bond1.3924801080220005E12sunny900bond1.3924801080220005E12 

Can we use SOQL query in VF page?

Can we use SOQL query in VF page?
If yes then please give an eg.
Vamsi KrishnaVamsi Krishna
better way is to do the SOQL queries in your controller class rather than doing it in VF page..
Swati GSwati G
You can do it through ajax toolkit in javascript.

Here is the example, http://www.eltoro.it/ArticleViewer?id=a07A000000NPRj0IAH