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
Mohammadasif SiddiquiMohammadasif Siddiqui 

Output a table of accounts, your table must include the following columns: Account Name, Billing State/Province, Phone and Website.

  • User-added image
Best Answer chosen by Mohammadasif Siddiqui
Mohammadasif SiddiquiMohammadasif Siddiqui
<apex:page standardController="Account" recordSetVar="accounts"  >
  <apex:pageBlock title="All Account" >
    <apex:form > 
      <apex:pageBlockTable value="{!accounts}" var="a">
          
          <apex:column value="{!a.Name}" />
        <apex:column value="{!a.billingCity}" />
          <apex:column value="{!a.Phone}" />
          <apex:column value="{!a.Website}" />
      </apex:pageBlockTable>
        
    </apex:form>
   
  </apex:pageBlock>
</apex:page>