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

How will you display account name using VF

Hello All,

   I want to know how to display an account name in visual force page?
Confused between standard controller and custom controller.
Thanks in advance.

To display Account Name on VF Page you may use the standard controller. Use the below expression on VF page where you want to display the Account name {!}. Please refer to the below link for some sample VF Markup's that might help you on this  

Please review the below articles for more information on Standard Controller and Custom Controller
Standard Controllers (
Custom Controllers (
Hi Ramu, Thanks for your reply. I had tried this. But it does not display the account name, as expected. That is what drove me to post a query in this forum.